From 1aae4e16c9b4881aad76caf5b4781c7dda29dd24 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Wed, 23 Jun 2010 00:21:13 -0600 Subject: [PATCH] stlplus netbsd subprocess fix --- src/stlplus/portability/subprocesses.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.45.2