summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-support/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-support/fcgi/fcgi/Fix_EOF_not_declared_issue.patch')
-rw-r--r--meta-webserver/recipes-support/fcgi/fcgi/Fix_EOF_not_declared_issue.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-webserver/recipes-support/fcgi/fcgi/Fix_EOF_not_declared_issue.patch b/meta-webserver/recipes-support/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
new file mode 100644
index 000000000..51ddeaac2
--- /dev/null
+++ b/meta-webserver/recipes-support/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
@@ -0,0 +1,17 @@
1Upstream-Status: Pending
2
3Fix EOF not declared issue, following is the error log.
4fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
5 if (FCGX_PutStr(pbase(), plen, this->fcgx) != plen) return EOF;
6
7Signed-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