aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.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 /proc.c
parent3259da8f4a2fb865b44d0dc804812dbfc1d8537c (diff)
Check location of term.h header (updated)
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index 3536d56d..4bc234bd 100644
--- a/proc.c
+++ b/proc.c
@@ -36,7 +36,11 @@ Some of the code in this file is based on code from the Glibc manual.
#include <termio.h>
#endif
+#if HAVE_TERM_H
#include <term.h>
+#elif HAVE_NCURSES_TERM_H
+#include <ncurses/term.h>
+#endif
#include "util.h"
#include "wutil.h"