aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-10 08:53:38 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-10 08:53:38 +1000
commit41f8007a0369e57f24e3c50ff91bb6e23805bfba (patch)
treee77f1f9386da5eb5671fd72882b4d3c659892d95 /common.c
parent8207030b21555c90cd286c7de3a11b5346c86d95 (diff)
More header/autoconf fixes, improve winsize checking
darcs-hash:20060809225338-ac50b-7162a690e44e2272f4760723f5bf8cc135dc5952.gz
Diffstat (limited to 'common.c')
-rw-r--r--common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.c b/common.c
index f67e904b..b693cad3 100644
--- a/common.c
+++ b/common.c
@@ -24,7 +24,15 @@ parts of fish.
#include <stdio.h>
#include <dirent.h>
#include <sys/types.h>
+
+#ifdef HAVE_SYS_TERMIOS_H
+#include <sys/termios.h>
+#endif
+
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
+
#include <sys/stat.h>
#include <unistd.h>
#include <wctype.h>