X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=5bb5b6580ad203939f80d56d1a34fcdeb75987e9;hp=b6c2e833c8b5bf0808a65b8b41f4ae04a501048d;hb=62fd5b5f1e43cf04e0467a48578826726cfe5821;hpb=494c4fd4db3772b99821f31aaa14ad632b5fd713 diff --git a/http_request_api.c b/http_request_api.c index b6c2e83..5bb5b65 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -20,6 +20,8 @@ #endif #include "php.h" +#ifdef HTTP_HAVE_CURL + #include "php_http.h" #include "php_http_std_defs.h" #include "php_http_api.h" @@ -972,6 +974,8 @@ static inline zval *_http_curl_getopt_ex(HashTable *options, char *key, size_t k } /* }}} */ +#endif + /* * Local variables: * tab-width: 4