diff options
Diffstat (limited to 'gdb/tui/tuiDataWin.c')
-rw-r--r-- | gdb/tui/tuiDataWin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/tui/tuiDataWin.c b/gdb/tui/tuiDataWin.c index b67aeac..cb670ed 100644 --- a/gdb/tui/tuiDataWin.c +++ b/gdb/tui/tuiDataWin.c @@ -19,6 +19,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* 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 "defs.h" #include "tui.h" #include "tuiData.h" |