summaryrefslogtreecommitdiff
path: root/zwgc/tty_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/tty_filter.c')
-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