board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libfcgi / 0001-eof.patch
blobe7314265a2c86f52007aab91c9afc918ca044f39
1 [PATCH] fix build with C++ support and gcc >= 4.4
3 EOF is defined in stdio, so ensure it is included.
5 Based on similar patch by Markus Rothe:
6 http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3205
8 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
9 ---
10 libfcgi/fcgio.cpp | 1 +
11 1 file changed, 1 insertion(+)
13 Index: fcgi-2.4.0/libfcgi/fcgio.cpp
14 ===================================================================
15 --- fcgi-2.4.0.orig/libfcgi/fcgio.cpp
16 +++ fcgi-2.4.0/libfcgi/fcgio.cpp
17 @@ -22,6 +22,7 @@
18 #define DLLAPI __declspec(dllexport)
19 #endif
21 +#include <cstdio>
22 #include <limits.h>
23 #include "fcgio.h"