summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 5197317b5f9..d863e23bcd4 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -27,6 +27,10 @@ Boston, MA 02111-1307, USA. */
#include "blockinput.h"
#undef NULL
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+#endif
+
#define min(x,y) ((x) > (y) ? (y) : (x))
/* In this file, open, read and write refer to the system calls,