aboutsummaryrefslogtreecommitdiffhomepage
path: root/output.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 /output.c
parent3259da8f4a2fb865b44d0dc804812dbfc1d8537c (diff)
Check location of term.h header (updated)
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
Diffstat (limited to 'output.c')
-rw-r--r--output.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/output.c b/output.c
index 4578acb5..a148e926 100644
--- a/output.c
+++ b/output.c
@@ -26,7 +26,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 <fcntl.h>
#include <dirent.h>