diff options
Diffstat (limited to 'readline/examples/rlfe/os.h')
-rw-r--r-- | readline/examples/rlfe/os.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/readline/examples/rlfe/os.h b/readline/examples/rlfe/os.h index 1994fe62409..734bc8c4308 100644 --- a/readline/examples/rlfe/os.h +++ b/readline/examples/rlfe/os.h @@ -186,7 +186,7 @@ extern int errno; * terminal handling */ -#ifdef POSIX +#if defined (POSIX) || defined (__FreeBSD__) # include <termios.h> # ifdef hpux # include <bsdtty.h> @@ -527,4 +527,3 @@ typedef struct fd_set { int fds_bits[1]; } fd_set; * how many characters your pty's can buffer. */ #define IOSIZE 4096 - |