X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_requestpool_object.c;h=2f1b4175cfaf1d9ed1fc770c42f3053bd25b6948;hp=f7161c7b0139e3ce887886a7e60d5fa44ccb24fb;hb=902d195a198f4976c8ff081a95cdd3e315c14f5f;hpb=e47ee304be6758fbbfd238476f8a6bda9090fe12 diff --git a/http_requestpool_object.c b/http_requestpool_object.c index f7161c7..2f1b417 100644 --- a/http_requestpool_object.c +++ b/http_requestpool_object.c @@ -19,22 +19,18 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif - -#ifdef HTTP_HAVE_CURL -# ifdef PHP_WIN32 -# include -# endif -# include -#endif - #include "php.h" +#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_CURL) + #include "php_http_std_defs.h" #include "php_http_requestpool_object.h" #include "php_http_request_pool_api.h" -#ifdef ZEND_ENGINE_2 -#ifdef HTTP_HAVE_CURL +#ifdef PHP_WIN32 +# include +#endif +#include HTTP_DECLARE_ARG_PASS_INFO(); @@ -102,8 +98,7 @@ void _http_requestpool_object_free(zend_object *object TSRMLS_DC) efree(o); } -#endif /* HTTP_HAVE_CURL */ -#endif /* ZEND_ENGINE_2 */ +#endif /* ZEND_ENGINE_2 && HTTP_HAVE_CURL */ /* * Local variables: