* ada-valprint.c, parse.c: Include defs.h before including ctype.h.
authorJoel Brobecker <brobecker@gnat.com>
Sat, 9 Jan 2010 04:34:35 +0000 (04:34 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 9 Jan 2010 04:34:35 +0000 (04:34 +0000)
gdb/ChangeLog
gdb/ada-valprint.c
gdb/parse.c

index 73a01f58f1c30421dd62ee5ee9aa390c50ca72a3..0a5b4b51c7b1936eff6bc4d0b8fa192a76d97cc3 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+       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  <brobecker@adacore.com>
 
        Fix build failure on sparc-solaris.
index e000411efdd263a27e422dbbba07ec1dce98a985..4f644b845a612589ce611420be97ae3d0eaaa43d 100644 (file)
@@ -19,8 +19,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include <ctype.h>
 #include "defs.h"
+#include <ctype.h>
 #include "gdb_string.h"
 #include "symtab.h"
 #include "gdbtypes.h"
index 8cfdeaa3f2fb201ad42cb2f9226e6b2997d4848d..288550687814ee80e1f7e3205a9863e16b18b411 100644 (file)
@@ -31,9 +31,8 @@
    during the process of parsing; the lower levels of the tree always
    come first in the result.  */
 
-#include <ctype.h>
-
 #include "defs.h"
+#include <ctype.h>
 #include "arch-utils.h"
 #include "gdb_string.h"
 #include "symtab.h"