aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch')
-rw-r--r--meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch b/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch
new file mode 100644
index 0000000000..51ddeaac22
--- /dev/null
+++ b/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Fix EOF not declared issue, following is the error log.
+fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
+ if (FCGX_PutStr(pbase(), plen, this->fcgx) != plen) return EOF;
+
+Signed-off-by: Yang Haibo <b40869@freescale.com>
+--- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.000000000 +0800
++++ fcgi-2.4.0/libfcgi/fcgio.cpp 2014-07-28 18:01:22.000000000 +0800
+@@ -22,6 +22,7 @@
+ #define DLLAPI __declspec(dllexport)
+ #endif
+
++#include <stdio.h>
+ #include <limits.h>
+ #include "fcgio.h"
+