aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal.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 /env_universal.c
parent3259da8f4a2fb865b44d0dc804812dbfc1d8537c (diff)
Check location of term.h header (updated)
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
Diffstat (limited to 'env_universal.c')
-rw-r--r--env_universal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/env_universal.c b/env_universal.c
index bee57dc2..5344ad73 100644
--- a/env_universal.c
+++ b/env_universal.c
@@ -11,12 +11,19 @@
#include <pwd.h>
#include <errno.h>
#include <fcntl.h>
+
#if HAVE_NCURSES_H
#include <ncurses.h>
#else
#include <curses.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"