diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/tui/tui.c | 25 |
2 files changed, 19 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c3d5ab..f8d4d3c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2004-02-25 J. Brobecker <brobecker@gnat.com> + From Peter Schauer <schauer@pdf.de>: + * tui/tui.c: Move system header includes after local includes. + Fixes a build failure on solaris systems. + +2004-02-25 J. Brobecker <brobecker@gnat.com> + * configure.in: Refine the previous change. * configure: Regenerate. diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 4d1e55b..2c12621 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 <stdio.h> -#include <stdlib.h> -#include <ctype.h> -#ifdef HAVE_TERM_H -#include <term.h> -#endif -#include <signal.h> -#include <fcntl.h> -#if 0 -#include <termio.h> -#endif -#include <setjmp.h> #include "defs.h" #include "gdbcmd.h" #include "tui/tui.h" @@ -54,6 +42,19 @@ #include "symtab.h" #include "source.h" +#include <stdio.h> +#include <stdlib.h> +#include <ctype.h> +#ifdef HAVE_TERM_H +#include <term.h> +#endif +#include <signal.h> +#include <fcntl.h> +#if 0 +#include <termio.h> +#endif +#include <setjmp.h> + #include "gdb_curses.h" /* Tells whether the TUI is active or not. */ |