summaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin.c b/builtin.c
index 8926d004..e17fc454 100644
--- a/builtin.c
+++ b/builtin.c
@@ -576,7 +576,10 @@ static jv f_error(jv input, jv msg) {
return jv_invalid_with_msg(msg);
}
+// FIXME Should autoconf check for this!
+#ifndef WIN32
extern const char **environ;
+#endif
static jv f_env(jv input) {
jv_free(input);