aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/shared.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-05 21:05:24 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-05 21:05:24 +0100
commit8d169b2b75aff82911c42829a5eb495701f9de3e (patch)
treeb3758b91877cac39cc628d428f779f4eb424dc12 /src/libmain/shared.cc
parentd34d2b2bbf784c0bb420a50905af25e02c6e4989 (diff)
Define ‘environ’
http://hydra.nixos.org/build/17690555
Diffstat (limited to 'src/libmain/shared.cc')
-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 d0c75a82a..ef4ea3706 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 {