summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/System/Unix/Program.cpp')
-rw-r--r--llvm/lib/System/Unix/Program.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/System/Unix/Program.cpp b/llvm/lib/System/Unix/Program.cpp
index 6943d52af55..ca8514dfa69 100644
--- a/llvm/lib/System/Unix/Program.cpp
+++ b/llvm/lib/System/Unix/Program.cpp
@@ -24,6 +24,8 @@
#include <sys/wait.h>
#endif
+extern char** environ;
+
namespace llvm {
using namespace sys;
OpenPOWER on IntegriCloud