diff options
author | 2016-07-13 12:32:45 +0100 | |
---|---|---|
committer | 2016-07-13 13:31:10 +0100 | |
commit | b59412aa2ceb0f3c8df9e9619d82eff28b544e5f (patch) | |
tree | 73092af53186fac79820f5902b0f3b0bd4f7102f /src/osd/modules/file | |
parent | f2ad7351efa763aa545533bda773193910ba8159 (diff) |
kfreebsd: use termios.h not just on regular FreeBSD
Diffstat (limited to 'src/osd/modules/file')
-rw-r--r-- | src/osd/modules/file/posixptty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/file/posixptty.cpp b/src/osd/modules/file/posixptty.cpp index 164c2fc62c6..3eab9e45d0c 100644 --- a/src/osd/modules/file/posixptty.cpp +++ b/src/osd/modules/file/posixptty.cpp @@ -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__) |