put back environ declaration for Unix
roberts [Tue, 27 Jul 1999 13:56:59 +0000 (13:56 +0000)]
cgi-fcgi/cgi-fcgi.c

index b495032..302f7f7 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: cgi-fcgi.c,v 1.5 1999/07/26 22:03:07 roberts Exp $";
+static const char rcsid[] = "$Id: cgi-fcgi.c,v 1.6 1999/07/27 13:56:59 roberts Exp $";
 #endif /* not lint */
 
 #include <stdio.h>
@@ -41,7 +41,11 @@ static const char rcsid[] = "$Id: cgi-fcgi.c,v 1.5 1999/07/26 22:03:07 roberts E
 #include "fcgi_config.h"
 #include "fcgios.h"
 
+#ifdef _WIN32
 #include <stdlib.h>
+#else
+extern char **environ;
+#endif
 
 static int wsReadPending = 0;
 static int fcgiReadPending = 0;