rename this file so it is visible by metacpan et al
[catagits/fcgi2.git] / examples / echo.c
index 6a17406..52323ce 100644 (file)
@@ -6,28 +6,31 @@
  *
  * Copyright (c) 1996 Open Market, Inc.
  *
- * See the file "LICENSE.TERMS" for information on usage and redistribution
+ * See the file "LICENSE" for information on usage and redistribution
  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  *
  */
 #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);