aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_curses.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-15 10:06:05 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-15 10:06:05 +0000
commita6ed5501f78250d70d1ced106927e4fcc2eb95c9 (patch)
treedc5bc30dcdfce2f1d8b5f72fd1ee8b003cfc7514 /gdb/gdb_curses.h
parentdd8c8ee780bcbb801536f2e0ba91e0f90ac821c2 (diff)
downloadgdb-a6ed5501f78250d70d1ced106927e4fcc2eb95c9.zip
gdb-a6ed5501f78250d70d1ced106927e4fcc2eb95c9.tar.gz
gdb-a6ed5501f78250d70d1ced106927e4fcc2eb95c9.tar.bz2
* configure.in: Add <ncurses/ncurses.h> to the list of possible
curses headers. * configure, config.in: Regenerate. * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include <ncurses/ncurses.h>.
Diffstat (limited to 'gdb/gdb_curses.h')
-rw-r--r--gdb/gdb_curses.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gdb_curses.h b/gdb/gdb_curses.h
index 1e4bfcd..4371d4f 100644
--- a/gdb/gdb_curses.h
+++ b/gdb/gdb_curses.h
@@ -22,7 +22,9 @@
#ifndef GDB_CURSES_H
#define GDB_CURSES_H 1
-#if defined (HAVE_NCURSES_H)
+#if defined (HAVE_NCURSES_NCURSES_H)
+#include <ncurses/ncurses.h>
+#elif defined (HAVE_NCURSES_H)
#include <ncurses.h>
#elif defined (HAVE_CURSESX_H)
#include <cursesX.h>
@@ -30,4 +32,4 @@
#include <curses.h>
#endif
-#endif
+#endif /* gdb_curses.h */