* 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 73a01f5..0a5b4b5 100644 (file)
@@ -1,5 +1,10 @@
 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.
        * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
 
index e000411..4f644b8 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 8cfdeaa..2885506 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"