added missing header in order struct event could be used as non pointer
authorAnatoliy Belsky <ab@php.net>
Fri, 22 Nov 2013 22:43:45 +0000 (22:43 +0000)
committerAnatoliy Belsky <ab@php.net>
Fri, 22 Nov 2013 22:43:45 +0000 (22:43 +0000)
php_http_client_curl.c

index 3200fa2cad21bc901f2e65d1f7924807f2dc476a..682e1eba2f64178eb8dba2884f115560fbfc1230 100644 (file)
@@ -23,7 +23,9 @@
                        event_set(e, s, a, cb, d); \
                        event_base_set(b, e); \
                } while(0)
-#      endif
+#   else
+#          include <event_struct.h>
+#   endif
 #      ifndef DBG_EVENTS
 #              define DBG_EVENTS 0
 #      endif