stlplus netbsd subprocess fix
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Wed, 23 Jun 2010 06:21:13 +0000 (00:21 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Wed, 23 Jun 2010 06:21:13 +0000 (00:21 -0600)
src/stlplus/portability/subprocesses.cpp

index 0c7d76f1de89f3399b7eefd9d8a4616baa4d5d4f..b6c791b3149cfad9370c64b1b015a586a4432585 100644 (file)
@@ -28,6 +28,7 @@
 #include <sys/wait.h>
 #include <unistd.h>
 #include <fcntl.h>
+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;
This page took 0.019296 seconds and 4 git commands to generate.