From: Charles McGarvey Date: Wed, 23 Jun 2010 06:21:13 +0000 (-0600) Subject: stlplus netbsd subprocess fix X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=1aae4e16c9b4881aad76caf5b4781c7dda29dd24;p=chaz%2Fyoink stlplus netbsd subprocess fix --- diff --git a/src/stlplus/portability/subprocesses.cpp b/src/stlplus/portability/subprocesses.cpp index 0c7d76f..b6c791b 100644 --- a/src/stlplus/portability/subprocesses.cpp +++ b/src/stlplus/portability/subprocesses.cpp @@ -28,6 +28,7 @@ #include #include #include +extern char** environ; #endif //////////////////////////////////////////////////////////////////////////////// @@ -419,8 +420,6 @@ namespace stlplus #else // Unix utilities - extern char** environ; - static unsigned envp_size(char* const* envp) { unsigned size = 0;