Skip to content
Browse files

fcgi ifdefs

  • Loading branch information...
1 parent 7a58063 commit 33d95a79b358c7773f57e9cf54ac1360a97bcecf Alan Dipert committed Dec 18, 2008
Showing with 16 additions and 0 deletions.
  1. +4 −0 error.c
  2. +4 −0 fetch.c
  3. +4 −0 main.c
  4. +4 −0 request.c
View
4 error.c
@@ -1,4 +1,8 @@
+#ifdef USE_FASTCGI
+#include <fcgi_stdio.h>
+#else
#include <stdio.h>
+#endif
#include "cgic/cgic.h"
#include "jsonptunnel.h"
View
4 fetch.c
@@ -1,4 +1,8 @@
+#ifdef USE_FASTCGI
+#include <fcgi_stdio.h>
+#else
#include <stdio.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
View
4 main.c
@@ -8,7 +8,11 @@
* HTTP action to cgiOut (stdout).
*/
+#ifdef USE_FASTCGI
+#include <fcgi_stdio.h>
+#else
#include <stdio.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include "cgic/cgic.h"
View
4 request.c
@@ -1,4 +1,8 @@
+#ifdef USE_FASTCGI
+#include <fcgi_stdio.h>
+#else
#include <stdio.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include "cgic/cgic.h"

0 comments on commit 33d95a7

Please sign in to comment.
Something went wrong with that request. Please try again.