fix #98 #99 #100 #101 #102 #103
[m6w6/ext-http] / src / php_http_client_curl_event.h
index d3b09285f9f0bd489bb214daa41a342421c43ff2..dc63bd403e8dc1628d20a3691df0b8cb052a1610 100644 (file)
     +--------------------------------------------------------------------+
 */
 
-#if PHP_HTTP_HAVE_CURL
-#if PHP_HTTP_HAVE_EVENT
+#ifndef PHP_HTTP_CLIENT_CURL_EVENT_H
+#define PHP_HTTP_CLIENT_CURL_EVENT_H
+
+#if PHP_HTTP_HAVE_LIBCURL
+#if PHP_HTTP_HAVE_LIBEVENT
 
 php_http_client_curl_ops_t *php_http_client_curl_event_ops_get();
 
 #endif
 #endif
 
+#endif
+
 /*
  * Local variables:
  * tab-width: 4