aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php5-suhosin/fix-LOCK-undeclared.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/php5-suhosin/fix-LOCK-undeclared.patch')
-rw-r--r--testing/php5-suhosin/fix-LOCK-undeclared.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/php5-suhosin/fix-LOCK-undeclared.patch b/testing/php5-suhosin/fix-LOCK-undeclared.patch
new file mode 100644
index 0000000000..27b3e7555b
--- /dev/null
+++ b/testing/php5-suhosin/fix-LOCK-undeclared.patch
@@ -0,0 +1,11 @@
+--- suhosin-0.9.38/log.c
++++ suhosin-0.9.38/log.c.new
+@@ -27,7 +27,7 @@
+ #include "php.h"
+ #include "php_ini.h"
+ #include "php_suhosin.h"
+-#include <fcntl.h>
++#include <linux/fcntl.h>
+ #include "SAPI.h"
+ #include "ext/standard/datetime.h"
+ #include "ext/standard/flock_compat.h"