diff options
author | Joel Brobecker <brobecker@gnat.com> | 2004-02-26 02:08:04 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2004-02-26 02:08:04 +0000 |
commit | 479272a3cad95d51be0bba6b948a4158c5db5b53 (patch) | |
tree | 15ef61ab90c3f112c873c718f9e9d83d88aa7329 | |
parent | 7613d9339cb44564d4f98ef22f714cd2f7abb5a4 (diff) | |
download | fsf-binutils-gdb-479272a3cad95d51be0bba6b948a4158c5db5b53.zip fsf-binutils-gdb-479272a3cad95d51be0bba6b948a4158c5db5b53.tar.gz fsf-binutils-gdb-479272a3cad95d51be0bba6b948a4158c5db5b53.tar.bz2 |
* tui/tui.c: Move system header includes after local includes.
Fixes a build failure on solaris systems.
-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. */ |