aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-08 15:54:32 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-08 15:54:32 +0000
commit4e8f7a8b2731c2e29031ec1b6796f5688935573d (patch)
treea661726e19d7104edfb95f8fd54111c3eed18b0a /gdb/utils.c
parent5e37cc467605bb1dc2e791806b55a3ca52702d99 (diff)
downloadgdb-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/utils.c')
-rw-r--r--gdb/utils.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 34b660d..db21d34 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -20,12 +20,10 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "defs.h"
-#include "gdb_assert.h"
-#include <ctype.h>
-#include "gdb_string.h"
-#include "event-top.h"
+#include "config.h"
+/* Include before "bfd.h" so that we get stdbool.h in time, if <curses.h>
+ brings it in. */
#ifdef HAVE_CURSES_H
#include <curses.h>
#endif
@@ -33,6 +31,12 @@
#include <term.h>
#endif
+#include "defs.h"
+#include "gdb_assert.h"
+#include <ctype.h>
+#include "gdb_string.h"
+#include "event-top.h"
+
#ifdef __GO32__
#include <pc.h>
#endif