From 479272a3cad95d51be0bba6b948a4158c5db5b53 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 26 Feb 2004 02:08:04 +0000 Subject: [PATCH] * tui/tui.c: Move system header includes after local includes. Fixes a build failure on solaris systems. --- gdb/ChangeLog | 6 ++++++ gdb/tui/tui.c | 25 +++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c3d5ab0cf9..f8d4d3cf8c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-02-25 J. Brobecker + + From Peter Schauer : + * tui/tui.c: Move system header includes after local includes. + Fixes a build failure on solaris systems. + 2004-02-25 J. Brobecker * configure.in: Refine the previous change. diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 4d1e55b9f35..2c12621a532 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -22,18 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include -#include -#include -#ifdef HAVE_TERM_H -#include -#endif -#include -#include -#if 0 -#include -#endif -#include #include "defs.h" #include "gdbcmd.h" #include "tui/tui.h" @@ -54,6 +42,19 @@ #include "symtab.h" #include "source.h" +#include +#include +#include +#ifdef HAVE_TERM_H +#include +#endif +#include +#include +#if 0 +#include +#endif +#include + #include "gdb_curses.h" /* Tells whether the TUI is active or not. */ -- 2.30.2