aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-19 16:46:16 +0000
committerNick Clifton <nickc@redhat.com>2012-05-19 16:46:16 +0000
commita6ff997ce8307ea4be649d4e8de0c07d21048a30 (patch)
tree64064d6f1b0e3ebff2d0f0bea09a8201f91370d7 /sim/h8300
parentf06b801f6696ae159044d9aca903224f929a0e4f (diff)
downloadfsf-binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.zip
fsf-binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.tar.gz
fsf-binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.tar.bz2
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 8865a79..2aaf0fb 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 7b4a5fa..13d5cae 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 65cc999..964388a 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