summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helper/jim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c
index 5eb8c0bb..28dc950d 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -11976,7 +11976,10 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
char *val;
if (argc == 1) {
+
+#ifndef _WIN32
extern char **environ;
+#endif
int i;
Jim_Obj *listObjPtr = Jim_NewListObj(interp, NULL, 0);