aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/cpu.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-09 02:22:48 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-09 02:24:00 -0400
commita13ab747e7abc67fca3568195bf943708261a39e (patch)
tree1b8d80dff1df7cf0e96b3e2a6bf5de2d3d761f0e /sim/ppc/cpu.c
parentee73abf25e8431f4ea8c95629622cf23515c1d07 (diff)
downloadfsf-binutils-gdb-a13ab747e7abc67fca3568195bf943708261a39e.zip
fsf-binutils-gdb-a13ab747e7abc67fca3568195bf943708261a39e.tar.gz
fsf-binutils-gdb-a13ab747e7abc67fca3568195bf943708261a39e.tar.bz2
sim: ppc: enable use of gnulib
All other sim arches are using this now, so finish up the logic in the ppc arch to enable gnulib usage here too.
Diffstat (limited to 'sim/ppc/cpu.c')
-rw-r--r--sim/ppc/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/ppc/cpu.c b/sim/ppc/cpu.c
index 3169553..1462766 100644
--- a/sim/ppc/cpu.c
+++ b/sim/ppc/cpu.c
@@ -21,6 +21,9 @@
#ifndef _CPU_C_
#define _CPU_C_
+/* This must come before any other includes. */
+#include "defs.h"
+
#include <setjmp.h>
#include "cpu.h"