From b44c5d6e216cb085023d14005f08258be562ba90 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 6 Nov 2021 20:35:52 -0400 Subject: [PATCH] sim: ppc: switch to libiberty environ.h Drop our compat code and assume environ exists to simplify. We did this for all other targets already, but ppc was missed. --- sim/ppc/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2