aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/main.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/main.c
parentee73abf25e8431f4ea8c95629622cf23515c1d07 (diff)
downloadgdb-a13ab747e7abc67fca3568195bf943708261a39e.zip
gdb-a13ab747e7abc67fca3568195bf943708261a39e.tar.gz
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/main.c')
-rw-r--r--sim/ppc/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/ppc/main.c b/sim/ppc/main.c
index 3b82c88..d9a4070 100644
--- a/sim/ppc/main.c
+++ b/sim/ppc/main.c
@@ -17,6 +17,8 @@
*/
+/* This must come before any other includes. */
+#include "defs.h"
#include <stdarg.h>
#include <stdio.h>