summaryrefslogtreecommitdiff
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
commit5390c114d6028ec3469a54c68e873d44b70f9c17 (patch)
treef75bde3c0f442ef9ca86ee98556ac287c2ef124b /gdb/gdb_curses.h
parent7a3f63f164b40b771c44b5ac262723ee014d2a22 (diff)
downloadgdb-5390c114d6028ec3469a54c68e873d44b70f9c17.tar.gz
* 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 4371d4f89d9..5b9886d9b8e 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 */