summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index dc728a2a79e..bb71fe5f156 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -114,6 +114,10 @@ static struct sensemode {
#endif /* not HAVE_TERMIOS */
#endif /* not HAVE_TERMIO */
+#ifdef __GNU_LIBRARY__
+#include <termios.h>
+#endif
+
#ifdef AIX
/* Get files for keyboard remapping */
#define HFNKEYS 2