X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2Fecho.c;h=6e71b1fa76b69e333344268e6cfc75864409e945;hb=6332d5214bd1387f8b281a52ab7dc36a93611621;hp=6a174064f48842a7fd75c0cad53d0109d63acaa0;hpb=54cf3fecd7a3a87f8db20238085d5f56264bf33c;p=catagits%2Ffcgi2.git diff --git a/examples/echo.c b/examples/echo.c index 6a17406..6e71b1f 100644 --- a/examples/echo.c +++ b/examples/echo.c @@ -11,23 +11,26 @@ * */ #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 -#if defined HAVE_UNISTD_H || __linux__ +#ifdef HAVE_UNISTD_H #include #endif -#include - #ifdef _WIN32 #include #else extern char **environ; #endif +#include "fcgi_stdio.h" + + static void PrintEnv(char *label, char **envp) { printf("%s:
\n
\n", label);