about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-05T20·05+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-05T20·05+0100
commit8d169b2b75aff82911c42829a5eb495701f9de3e (patch)
treeb3758b91877cac39cc628d428f779f4eb424dc12 /src
parentd34d2b2bbf784c0bb420a50905af25e02c6e4989 (diff)
Define ‘environ’
http://hydra.nixos.org/build/17690555
Diffstat (limited to 'src')
-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 {