From 3e4fc9f9667331c6039bb880e6f1a275c9a34ccb Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 10 Sep 2009 16:48:38 +0200 Subject: [PATCH] Add 'extern char **environ' so that the new ENV code compiles. Problem appeared in dc39e8202456686513c43a4e2c4e5e505eb3a901. --- src/node.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node.cc b/src/node.cc index 775db3adf4..d26b6a1be9 100644 --- a/src/node.cc +++ b/src/node.cc @@ -30,6 +30,8 @@ using namespace v8; using namespace node; +extern char **environ; + Local node::Encode (const void *buf, size_t len, enum encoding encoding) {