summaryrefslogtreecommitdiffstats
path: root/patches/fcgi-2.4.0/stdio.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fcgi-2.4.0/stdio.diff')
-rw-r--r--patches/fcgi-2.4.0/stdio.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/fcgi-2.4.0/stdio.diff b/patches/fcgi-2.4.0/stdio.diff
new file mode 100644
index 000000000..038b3ead9
--- /dev/null
+++ b/patches/fcgi-2.4.0/stdio.diff
@@ -0,0 +1,26 @@
+From: George McCollister <george.mccollister@gmail.com>
+Subject: [PATCH] include stdio.h
+
+fcgi failed to compile. EOF wasn't defined because stdio.h wasn't included.
+
+Signed-off-by: George McCollister <george.mccollister@gmail.com>
+---
+ include/fcgiapp.h | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/include/fcgiapp.h b/include/fcgiapp.h
+index d7236f6..c39a671 100644
+--- a/include/fcgiapp.h
++++ b/include/fcgiapp.h
+@@ -34,6 +34,8 @@
+ extern "C" {
+ #endif
+
++#include <stdio.h>
++
+ /*
+ * Error codes. Assigned to avoid conflict with EOF and errno(2).
+ */
+--
+1.7.2.3
+