summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-07-14 03:33:56 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-07-14 03:33:56 +0000
commit827e165e5b80d999a8a30b3292f9bbb4a8c772e1 (patch)
tree82ddcbe10df5f4719e4d374927f5da21d6310fd0 /zwgc
parente45b68bc34c737af3002555981e6d07ec4b00f8a (diff)
Build on solaris
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/tty_filter.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c
index 6921b5f..ea607e9 100644
--- a/zwgc/tty_filter.c
+++ b/zwgc/tty_filter.c
@@ -28,6 +28,13 @@ static const char rcsid_tty_filter_c[] = "$Id$";
#include <termcap.h>
#else
#ifdef HAVE_TERM_H
+#ifdef HAVE_TERMIO_H
+/* I blame Solaris. Solaris to blame. */
+#include <termio.h>
+#endif
+#ifdef HAVE_CURSES_H
+#include <curses.h>
+#endif
#include <term.h>
#endif
#endif