[PATCH] Fix compile issue (missing include)

Markus Rothe <markus-h/[email protected]> Sun, 27 Mar 2011 23:02:29 +0200
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hello,

the attached patch fixes a compile issue, where EOF is not defined.
This happens using gcc versions >=4.4.

Best regards,

Markus

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
fcgi-2.4.0-includes.patch (text/x-patch, 272 B)
--- fcgi-2.4.0/libfcgi/fcgio.cpp.orig	2002-02-24 21:12:22.000000000 +0100
+++ fcgi-2.4.0/libfcgi/fcgio.cpp	2011-03-27 22:53:45.247754624 +0200
@@ -22,6 +22,7 @@
 #define DLLAPI  __declspec(dllexport)
 #endif
 
+#include <cstdio>
 #include <limits.h>
 #include "fcgio.h"