aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2015-12-11 19:58:09 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2015-12-11 19:58:41 +0000
commit38cc1a1843b370eaeff749802d1d8803b73c4b93 (patch)
tree70eeeefa0e6c697f64d5edc1fc816dc7a871aaa8 /tty-term.c
parent2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e (diff)
downloadrtmux-38cc1a1843b370eaeff749802d1d8803b73c4b93.tar.gz
rtmux-38cc1a1843b370eaeff749802d1d8803b73c4b93.tar.bz2
rtmux-38cc1a1843b370eaeff749802d1d8803b73c4b93.zip
Look for ncurses with PKG_CONFIG, and remove libtinfo because it just causes
confusion.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty-term.c b/tty-term.c
index f536859e..21756e51 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -18,9 +18,9 @@
#include <sys/types.h>
-#ifdef HAVE_CURSES_H
+#if defined(HAVE_CURSES_H)
#include <curses.h>
-#else
+#elif defined(HAVE_NCURSES_H)
#include <ncurses.h>
#endif
#include <fnmatch.h>