diff options
Diffstat (limited to 'libiberty/setenv.c')
-rw-r--r-- | libiberty/setenv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/setenv.c b/libiberty/setenv.c index 96917d5..921e968 100644 --- a/libiberty/setenv.c +++ b/libiberty/setenv.c @@ -63,8 +63,11 @@ extern int errno; #define __environ environ #ifndef HAVE_ENVIRON_DECL +/* MinGW defines environ to call a function. */ +#ifndef environ extern char **environ; #endif +#endif #undef setenv #undef unsetenv |