about summary refs log tree commit diff
path: root/src/libmain
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index d0c75a82ac3a..ef4ea370622b 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -17,6 +17,8 @@
 #include <signal.h>
 #include <spawn.h>
 
+extern char * * environ;
+
 
 namespace nix {