aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
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/utils.c
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/utils.c')
-rw-r--r--gdb/utils.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 0f4ea5a..673dc33 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -57,12 +57,7 @@
#include <sys/param.h> /* For MAXPATHLEN */
-#ifdef HAVE_CURSES_H
-#include <curses.h>
-#endif
-#ifdef HAVE_TERM_H
-#include <term.h>
-#endif
+#include "gdb_curses.h"
#include "readline/readline.h"