kfreebsd: use termios.h not just on regular FreeBSD

This commit is contained in:
Steven Chamberlain 2016-07-13 12:32:45 +01:00
parent f2ad7351ef
commit b59412aa2c

View File

@ -19,7 +19,7 @@
#include <unistd.h>
#include <stdlib.h>
#if defined(__FreeBSD__) || defined(__DragonFly__)
#if defined(__FreeBSD_kernel__) || defined(__DragonFly__)
#include <termios.h>
#include <libutil.h>
#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__ANDROID__)