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 3200fa2..682e1eb 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