summaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-19 16:46:13 +0000
committerNick Clifton <nickc@redhat.com>2012-05-19 16:46:13 +0000
commit98cc0d09da4db2a14bd8a891a6c8f162f64e11ee (patch)
tree2c91de10b7f15dcf5dbd69cd2a9c1563b6ef00fb /sim/h8300
parent0392d178b0cd28000fa384cf30bdd7c82acfe85b (diff)
downloadgdb-98cc0d09da4db2a14bd8a891a6c8f162f64e11ee.tar.gz
PR 14072
* wrapper.c: Include config.h before system header files. * callback.c: Include config.h before system header files. * cgen-trace.c: Likewise. * cgen-utils.c: Likewise. * gentmap.c: Likewise. * sim-if.c: Include config.h before system header files. * compile.c: Include config.h before system header files. * sim-main.h: Likewise. * gdb-if.c: Include config.h before system header files. * load.c: Likewise. * syscalls.c: Likewise. * trace.c: Likewise. * interp.c: Include config.h before system header files.
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog6
-rw-r--r--sim/h8300/compile.c1
-rw-r--r--sim/h8300/sim-main.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 8865a79feb2..2aaf0fbf2a8 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-18 Nick Clifton <nickc@redhat.com>
+
+ PR 14072
+ * compile.c: Include config.h before system header files.
+ * sim-main.h: Likewise.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 7b4a5fad31c..13d5caefc28 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -17,6 +17,7 @@
* AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+#include "config.h"
#include <signal.h>
#ifdef HAVE_TIME_H
#include <time.h>
diff --git a/sim/h8300/sim-main.h b/sim/h8300/sim-main.h
index 65cc9995dc9..964388ac560 100644
--- a/sim/h8300/sim-main.h
+++ b/sim/h8300/sim-main.h
@@ -1,5 +1,6 @@
/* Main header for the Hitachi h8/300 architecture. */
+#include "config.h"
#include "bfd.h"
#ifndef SIM_MAIN_H