summaryrefslogtreecommitdiff
path: root/compat/unsetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/unsetenv.c')
-rw-r--r--compat/unsetenv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/unsetenv.c b/compat/unsetenv.c
index 4ea18569c2..bf5fd7063b 100644
--- a/compat/unsetenv.c
+++ b/compat/unsetenv.c
@@ -2,6 +2,9 @@
void gitunsetenv (const char *name)
{
+#if !defined(__MINGW32__)
+ extern char **environ;
+#endif
int src, dst;
size_t nmln;