projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a00df7b
)
fixed event2 headers inclusion once more
author
Anatoliy Belsky
<ab@php.net>
Sat, 23 Nov 2013 09:39:13 +0000
(09:39 +0000)
committer
Anatoliy Belsky
<ab@php.net>
Sat, 23 Nov 2013 09:39:13 +0000
(09:39 +0000)
php_http.c
patch
|
blob
|
history
diff --git
a/php_http.c
b/php_http.c
index 4efec72d613f6667c0594411aa6204028e3a8009..471ee80f4717b4f8b2693ed1293fade3d4e61a25 100644
(file)
--- a/
php_http.c
+++ b/
php_http.c
@@
-20,7
+20,12
@@
#if PHP_HTTP_HAVE_CURL
# include <curl/curl.h>
# if PHP_HTTP_HAVE_EVENT
-# include <event.h>
+# if PHP_HTTP_HAVE_EVENT2
+# include <event2/event.h>
+# include <event2/event_struct.h>
+# else
+# include <event.h>
+# endif
# endif
#endif
#if PHP_HTTP_HAVE_SERF