diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-08 15:54:32 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-08 15:54:32 +0000 |
commit | 4e8f7a8b2731c2e29031ec1b6796f5688935573d (patch) | |
tree | a661726e19d7104edfb95f8fd54111c3eed18b0a /gdb/tui/tuiDataWin.c | |
parent | 5e37cc467605bb1dc2e791806b55a3ca52702d99 (diff) | |
download | gdb-4e8f7a8b2731c2e29031ec1b6796f5688935573d.zip gdb-4e8f7a8b2731c2e29031ec1b6796f5688935573d.tar.gz gdb-4e8f7a8b2731c2e29031ec1b6796f5688935573d.tar.bz2 |
2002-02-08 Daniel Jacobowitz <drow@mvista.com>
* utils.c: Include <curses.h> before "bfd.h".
* tui/tui-hooks.c: Likewise.
* tui/tui.c: Likewise.
* tui/tuiCommand.c: Likewise.
* tui/tuiData.c: Likewise.
* tui/tuiDataWin.c: Likewise.
* tui/tuiDisassem.c: Likewise.
* tui/tuiGeneralWin.c: Likewise.
* tui/tuiIO.c: Likewise.
* tui/tuiLayout.c: Likewise.
* tui/tuiRegs.c: Likewise.
* tui/tuiSource.c: Likewise.
* tui/tuiSourceWin.c: Likewise.
* tui/tuiStack.c: Likewise.
* tui/tuiWin.c: Likewise.
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" |