aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
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