aboutsummaryrefslogtreecommitdiff
path: root/www/lighttpd/files/patch-src_mod__cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/lighttpd/files/patch-src_mod__cgi.c')
-rw-r--r--www/lighttpd/files/patch-src_mod__cgi.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/lighttpd/files/patch-src_mod__cgi.c b/www/lighttpd/files/patch-src_mod__cgi.c
index 8561d57d65d3..1348c04026bb 100644
--- a/www/lighttpd/files/patch-src_mod__cgi.c
+++ b/www/lighttpd/files/patch-src_mod__cgi.c
@@ -1,11 +1,13 @@
---- src/mod_cgi.c.orig 2016-11-02 13:53:21 UTC
+--- src/mod_cgi.c.orig 2016-10-31 13:16:40 UTC
+++ src/mod_cgi.c
-@@ -36,7 +36,7 @@
+@@ -35,8 +35,9 @@
+
#include <stdio.h>
#include <fcntl.h>
-
++#include <sys/param.h>
+
-#if defined(O_CLOEXEC) && (!defined(__FreeBSD__) || defined(F_DUPFD_CLOEXEC))
-+#if defined(O_CLOEXEC) && __FreeBSD_version >= 1000032
++#if defined(O_CLOEXEC) && (!defined(__FreeBSD__) || __FreeBSD_version >= 1000032)
#define pipe_cloexec(pipefd) pipe2((pipefd), O_CLOEXEC)
#elif defined FD_CLOEXEC
#define pipe_cloexec(pipefd) \