aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:24:42 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:24:42 +0100
commit1fdacba1117daee58fe8c011f0fd55d517f66510 (patch)
tree9dd6f6664560bf70fd44c7a32d54278dcb320c54
parentb3e5a99c8fd37b8b1d2921f996bf24f47631e7a2 (diff)
downloadrtmux-1fdacba1117daee58fe8c011f0fd55d517f66510.tar.gz
rtmux-1fdacba1117daee58fe8c011f0fd55d517f66510.tar.bz2
rtmux-1fdacba1117daee58fe8c011f0fd55d517f66510.zip
Think Solaris needs term.h here.
-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"