aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_pager.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 /fish_pager.c
parent3259da8f4a2fb865b44d0dc804812dbfc1d8537c (diff)
Check location of term.h header (updated)
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
Diffstat (limited to 'fish_pager.c')
-rw-r--r--fish_pager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fish_pager.c b/fish_pager.c
index 6669a04e..75a23ac9 100644
--- a/fish_pager.c
+++ b/fish_pager.c
@@ -27,7 +27,12 @@
#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 "util.h"