aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/Program.inc
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-29 20:10:07 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-29 20:10:07 +0000
commitc0854bfcfcafb613a46099b3a46e98a2fda0a917 (patch)
treea2141a7d5dcd61422fd190b308778b902d709b5c /lib/System/Unix/Program.inc
parent93426ba5ed17478fe0f832967c6c5d98d68f2535 (diff)
Add a declaration of environ global for Darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Program.inc')
-rw-r--r--lib/System/Unix/Program.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc
index 6943d52af5..ca8514dfa6 100644
--- a/lib/System/Unix/Program.inc
+++ b/lib/System/Unix/Program.inc
@@ -24,6 +24,8 @@
#include <sys/wait.h>
#endif
+extern char** environ;
+
namespace llvm {
using namespace sys;