summaryrefslogtreecommitdiffstats
path: root/170.patch
blob: 45cde0b61d3ce7cc82c46ba3d6af148511db2d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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