summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tty-term.c b/tty-term.c
index 66238b38..1906eb23 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -21,6 +21,13 @@
#include <fnmatch.h>
#include <stdlib.h>
#include <string.h>
+#include <term.h>
+
+#if defined(HAVE_CURSES_H)
+#include <curses.h>
+#elif defined(HAVE_NCURSES_H)
+#include <ncurses.h>
+#endif
#include "tmux.h"