aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
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>