fcgi: new recipe from meta-webserver, slightly modified
[opendreambox.git] / meta-opendreambox / recipes-support / fcgi / fcgi-2.4.0 / Fix_EOF_not_declared_issue.patch
1 Upstream-Status: Pending
2
3 Fix EOF not declared issue, following is the error log.
4 fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
5               if (FCGX_PutStr(pbase(), plen, this->fcgx) != plen) return EOF;
6
7 Signed-off-by: Yang Haibo <b40869@freescale.com>
8 --- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.000000000 +0800
9 +++ fcgi-2.4.0/libfcgi/fcgio.cpp       2014-07-28 18:01:22.000000000 +0800
10 @@ -22,6 +22,7 @@
11  #define DLLAPI  __declspec(dllexport)
12  #endif
13
14 +#include <stdio.h>
15  #include <limits.h>
16  #include "fcgio.h"
17