diff --git a/sim/ppc/main.c b/sim/ppc/main.c index d9a40700973..83b629ec14a 100644 --- a/sim/ppc/main.c +++ b/sim/ppc/main.c @@ -42,14 +42,14 @@ #include #include +#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;