added missing header in order struct event could be used as non pointer
[m6w6/ext-http] / 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