aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/debug.c')
-rw-r--r--sim/ppc/debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/ppc/debug.c b/sim/ppc/debug.c
index b23644c..e8c054f 100644
--- a/sim/ppc/debug.c
+++ b/sim/ppc/debug.c
@@ -23,7 +23,10 @@
#define _DEBUG_C_
#include "basics.h"
+
+#ifdef HAVE_STDLIB
#include <stdlib.h>
+#endif
int ppc_trace[nr_trace_options];
int print_info;