X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=2beb4af34a37190575e472ac886d92f4e549615e;hp=eb8f5e92bb09c519a5e023469fc5028849780b8c;hb=16dba799dae126258bbb09e2f699d5d7954fac17;hpb=e577961fed4b5ae6a868adbeb420e0fec7aa8c6e diff --git a/http.c b/http.c index eb8f5e9..2beb4af 100644 --- a/http.c +++ b/http.c @@ -34,6 +34,9 @@ #include "php_http_request_method_api.h" #ifdef HTTP_HAVE_CURL # include "php_http_request_api.h" +# ifdef HTTP_HAVE_WRAPPER +# include "php_http_wrapper_api.h" +# endif #endif #ifdef ZEND_ENGINE_2 @@ -223,6 +226,9 @@ PHP_MINIT_FUNCTION(http) (SUCCESS != PHP_MINIT_CALL(http_headers)) || #ifdef HTTP_HAVE_CURL (SUCCESS != PHP_MINIT_CALL(http_request)) || +# ifdef HTTP_HAVE_WRAPPER + (SUCCESS != PHP_MINIT_CALL(http_wrapper)) || +# endif #endif /* HTTP_HAVE_CURL */ (SUCCESS != PHP_MINIT_CALL(http_request_method))) { return FAILURE;