aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/ppc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/main.c b/sim/ppc/main.c
index d9a4070..83b629e 100644
--- a/sim/ppc/main.c
+++ b/sim/ppc/main.c
@@ -42,14 +42,14 @@
#include <string.h>
#include <errno.h>
+#include "environ.h"
+
#if !defined(O_NONBLOCK) || !defined(F_GETFL) || !defined(F_SETFL)
#undef WITH_STDIO
#define WITH_STDIO DO_USE_STDIO
#endif
-extern char **environ;
-
static psim *simulation = NULL;