summaryrefslogtreecommitdiff
path: root/readline/examples/rlfe/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'readline/examples/rlfe/os.h')
-rw-r--r--readline/examples/rlfe/os.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/readline/examples/rlfe/os.h b/readline/examples/rlfe/os.h
index 0008a5cd4ad..734bc8c4308 100644
--- a/readline/examples/rlfe/os.h
+++ b/readline/examples/rlfe/os.h
@@ -19,7 +19,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
****************************************************************
- * $Id: os.h,v 1.10 1994/05/31 12:32:22 mlschroe Exp $ FAU
+ * $Id$ FAU
*/
#include <stdio.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
-