diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-15 10:06:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-15 10:06:05 +0000 |
commit | a6ed5501f78250d70d1ced106927e4fcc2eb95c9 (patch) | |
tree | dc5bc30dcdfce2f1d8b5f72fd1ee8b003cfc7514 /gdb/gdb_curses.h | |
parent | dd8c8ee780bcbb801536f2e0ba91e0f90ac821c2 (diff) | |
download | gdb-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.h | 6 |
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 */ |