summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:27:07 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:27:07 +0100
commita48cc458a60310480a8ba02da14fbed6f88399f4 (patch)
treeb2b65b020bd1866821d0c35741b1a8a2f27f0d76 /tty-term.c
parent1fdacba1117daee58fe8c011f0fd55d517f66510 (diff)
Maybe this is better.
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"