aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-19 22:22:07 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-19 22:22:07 +1000
commit1e7dd4f92894ba463c91e29d64bae0161f215fd6 (patch)
tree001f7c11457a80e547c091f7486d2f87684b60f1 /input.c
parent3259da8f4a2fb865b44d0dc804812dbfc1d8537c (diff)
Check location of term.h header (updated)
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/input.c b/input.c
index 8da2fa62..e522dc76 100644
--- a/input.c
+++ b/input.c
@@ -32,7 +32,12 @@ implementation in fish is as of yet incomplete.
#include <termio.h>
#endif
+#if HAVE_TERM_H
#include <term.h>
+#elif HAVE_NCURSES_TERM_H
+#include <ncurses/term.h>
+#endif
+
#include <signal.h>
#include <dirent.h>
#include <wctype.h>