From: Joel Brobecker Date: Sat, 9 Jan 2010 04:34:35 +0000 (+0000) Subject: * ada-valprint.c, parse.c: Include defs.h before including ctype.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12c894746152a600f71e5a9c359bb40aac5d0853;p=binutils-gdb.git * ada-valprint.c, parse.c: Include defs.h before including ctype.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 73a01f58f1c..0a5b4b51c7b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-01-09 Joel Brobecker + + Fix build failure of solaris-hosted cross debuggers. + * ada-valprint.c, parse.c: Include defs.h before including ctype.h. + 2010-01-09 Joel Brobecker Fix build failure on sparc-solaris. diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index e000411efdd..4f644b845a6 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include "defs.h" +#include #include "gdb_string.h" #include "symtab.h" #include "gdbtypes.h" diff --git a/gdb/parse.c b/gdb/parse.c index 8cfdeaa3f2f..28855068781 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -31,9 +31,8 @@ during the process of parsing; the lower levels of the tree always come first in the result. */ -#include - #include "defs.h" +#include #include "arch-utils.h" #include "gdb_string.h" #include "symtab.h"