diff options
Diffstat (limited to 'gdb/tui/tuiWin.c')
-rw-r--r-- | gdb/tui/tuiWin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/tui/tuiWin.c b/gdb/tui/tuiWin.c index 3611a08..b5b6d6d 100644 --- a/gdb/tui/tuiWin.c +++ b/gdb/tui/tuiWin.c @@ -24,6 +24,16 @@ Author: Susan B. Macchia */ +/* If we need <curses.h>, we must include it before we get "bfd.h". */ +#include "config.h" +#ifdef HAVE_NCURSES_H +#include <ncurses.h> +#else +#ifdef HAVE_CURSES_H +#include <curses.h> +#endif +#endif + #include <string.h> #include <ctype.h> #include "defs.h" |