aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat.h1
-rw-r--r--tty-term.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 43a46021..19a5e466 100644
--- a/compat.h
+++ b/compat.h
@@ -25,6 +25,7 @@
#include <limits.h>
#include <stdio.h>
#include <termios.h>
+#include <term.h>
#include <wchar.h>
#if defined(HAVE_CURSES_H)
diff --git a/tty-term.c b/tty-term.c
index 6b1cde16..66238b38 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -21,7 +21,6 @@
#include <fnmatch.h>
#include <stdlib.h>
#include <string.h>
-#include <term.h>
#include "tmux.h"