X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2Fecho.c;h=6e71b1fa76b69e333344268e6cfc75864409e945;hb=bdf57c4e2c847d6916315dce207621838801630a;hp=6ef05ed08b6b04f2f794b789977ab4e203e2d2a6;hpb=3293ebdf398168b39921d4aca3a884fa54e40234;p=catagits%2Ffcgi2.git diff --git a/examples/echo.c b/examples/echo.c index 6ef05ed..6e71b1f 100644 --- a/examples/echo.c +++ b/examples/echo.c @@ -1,4 +1,4 @@ -/* +/* * echo.c -- * * Produce a page containing all FastCGI inputs @@ -10,24 +10,27 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * */ - #ifndef lint -static const char rcsid[] = "$Id: echo.c,v 1.3 1999/07/26 05:32:59 roberts Exp $"; +static const char rcsid[] = "$Id: echo.c,v 1.5 1999/07/28 00:29:37 roberts Exp $"; #endif /* not lint */ -#if defined HAVE_UNISTD_H || __linux__ -#include -#endif +#include "fcgi_config.h" -#include "fcgi_stdio.h" #include +#ifdef HAVE_UNISTD_H +#include +#endif + #ifdef _WIN32 #include #else extern char **environ; #endif +#include "fcgi_stdio.h" + + static void PrintEnv(char *label, char **envp) { printf("%s:
\n
\n", label);