summaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris')
-rw-r--r--sim/cris/ChangeLog5
-rw-r--r--sim/cris/sim-if.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index a261be2a1de..3f538ecc5fb 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-18 Nick Clifton <nickc@redhat.com>
+
+ PR 14072
+ * sim-if.c: Include config.h before system header files.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/cris/sim-if.c b/sim/cris/sim-if.c
index 56f8d42012a..19999e2fdd4 100644
--- a/sim/cris/sim-if.c
+++ b/sim/cris/sim-if.c
@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Based on the fr30 file, mixing in bits from the i960 and pruning of
dead code. */
+#include "config.h"
#include "libiberty.h"
#include "bfd.h"
#include "elf-bfd.h"