From: Peter Korsgaard Date: Mon, 30 Apr 2012 19:38:14 +0000 (+0200) Subject: libfcgi: fix build with C++ support and gcc >= 4.4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae63ca8f4782b91fd9e41316bfb79a43f54f5cd2;p=buildroot.git libfcgi: fix build with C++ support and gcc >= 4.4 As reported on the ml by Rico Bachmann. Signed-off-by: Peter Korsgaard --- diff --git a/package/libfcgi/libfcgi-eof.patch b/package/libfcgi/libfcgi-eof.patch new file mode 100644 index 0000000000..e7314265a2 --- /dev/null +++ b/package/libfcgi/libfcgi-eof.patch @@ -0,0 +1,24 @@ +[PATCH] fix build with C++ support and gcc >= 4.4 + +EOF is defined in stdio, so ensure it is included. + +Based on similar patch by Markus Rothe: +http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3205 + +Signed-off-by: Peter Korsgaard +--- + libfcgi/fcgio.cpp | 1 + + 1 file changed, 1 insertion(+) + +Index: fcgi-2.4.0/libfcgi/fcgio.cpp +=================================================================== +--- fcgi-2.4.0.orig/libfcgi/fcgio.cpp ++++ fcgi-2.4.0/libfcgi/fcgio.cpp +@@ -22,6 +22,7 @@ + #define DLLAPI __declspec(dllexport) + #endif + ++#include + #include + #include "fcgio.h" +