summaryrefslogtreecommitdiffstats
path: root/170.patch
diff options
context:
space:
mode:
Diffstat (limited to '170.patch')
-rw-r--r--170.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/170.patch b/170.patch
new file mode 100644
index 0000000..45cde0b
--- /dev/null
+++ b/170.patch
@@ -0,0 +1,31 @@
+From 7c961507e24435680e445b90af0a465c98246d4d Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@famillecollet.com>
+Date: Mon, 1 Feb 2016 08:09:46 +0100
+Subject: [PATCH] Fix build with old GCC
+
+---
+ zmq_pollset.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/zmq_pollset.c b/zmq_pollset.c
+index 16dbdec..59f8c09 100644
+--- a/zmq_pollset.c
++++ b/zmq_pollset.c
+@@ -38,7 +38,7 @@
+
+ /* {{{ typedef struct _php_zmq_pollset
+ */
+-typedef struct _php_zmq_pollset {
++struct _php_zmq_pollset {
+
+ zmq_pollitem_t *items;
+ zend_string **keys;
+@@ -49,7 +49,7 @@ typedef struct _php_zmq_pollset {
+ size_t alloc_size;
+
+ zval errors;
+-} php_zmq_pollset;
++};
+ /* }}} */
+
+ static