From 70c87a329bd8a8128cdd2da1f7a8aa1e069e52b8 Mon Sep 17 00:00:00 2001 From: Anatoliy Belsky Date: Sat, 23 Nov 2013 09:39:13 +0000 Subject: [PATCH] fixed event2 headers inclusion once more --- php_http.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/php_http.c b/php_http.c index 4efec72..471ee80 100644 --- a/php_http.c +++ b/php_http.c @@ -20,7 +20,12 @@ #if PHP_HTTP_HAVE_CURL # include # if PHP_HTTP_HAVE_EVENT -# include +# if PHP_HTTP_HAVE_EVENT2 +# include +# include +# else +# include +# endif # endif #endif #if PHP_HTTP_HAVE_SERF -- 2.30.2