change const qualifier on extern environ
[catagits/fcgi2.git] / examples / echo.c
index 6a17406..6e71b1f 100644 (file)
  *
  */
 #ifndef lint
-static const char rcsid[] = "$Id: echo.c,v 1.4 1999/07/27 19:01:38 roberts Exp $";
+static const char rcsid[] = "$Id: echo.c,v 1.5 1999/07/28 00:29:37 roberts Exp $";
 #endif /* not lint */
 
-#include "fcgi_stdio.h"
+#include "fcgi_config.h"
+
+#include <stdlib.h>
 
-#if defined HAVE_UNISTD_H || __linux__
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 
-#include <stdlib.h>
-
 #ifdef _WIN32
 #include <process.h>
 #else
 extern char **environ;
 #endif
 
+#include "fcgi_stdio.h"
+
+
 static void PrintEnv(char *label, char **envp)
 {
     printf("%s:<br>\n<pre>\n", label);