aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_curses.h
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2004-11-09 00:59:03 +0000
committerDave Anglin <dave.anglin@nrc.ca>2004-11-09 00:59:03 +0000
commit3b78cdbb321bb2d9904f8671eba09ac0ffab1f3b (patch)
tree0f2b187189967a1436f3ead28b684a82a6b8b5df /gdb/gdb_curses.h
parent8af859d7428f681e66d5e09a83b88a660dc80ca5 (diff)
downloadgdb-3b78cdbb321bb2d9904f8671eba09ac0ffab1f3b.zip
gdb-3b78cdbb321bb2d9904f8671eba09ac0ffab1f3b.tar.gz
gdb-3b78cdbb321bb2d9904f8671eba09ac0ffab1f3b.tar.bz2
* configure.in: Check for ncurses/term.h.
* gdb_curses.h: Include term.h here, prefering ncurses/term.h. * utils.c: Include gdb_curses.h instead of curses.h and term.h. * tui/tui.c: Don't include term.h. * configure, config.in: Rebuilt.
Diffstat (limited to 'gdb/gdb_curses.h')
-rw-r--r--gdb/gdb_curses.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdb_curses.h b/gdb/gdb_curses.h
index 4371d4f..5b9886d 100644
--- a/gdb/gdb_curses.h
+++ b/gdb/gdb_curses.h
@@ -32,4 +32,10 @@
#include <curses.h>
#endif
+#if defined (HAVE_NCURSES_TERM_H)
+#include <ncurses/term.h>
+#elif defined (HAVE_TERM_H)
+#include <term.h>
+#endif
+
#endif /* gdb_curses.h */