X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_info.c;h=69770ae3cc5801af6828237eb91d2d5bd0eafb47;hp=71bd4fc21ed5c433d953c98b28ea4ef5b8f6d2af;hb=121eac188fc0c1cabe3ea571a72867d3fd6b1b3f;hpb=2f5421a388a398ec47ff0c44e2a8c99a6ad08087 diff --git a/http_request_info.c b/http_request_info.c index 71bd4fc..69770ae 100644 --- a/http_request_info.c +++ b/http_request_info.c @@ -15,6 +15,7 @@ #define HTTP_WANT_CURL #include "php_http.h" +#ifdef HTTP_HAVE_CURL #include "php_http_request_api.h" /* {{{ void http_request_info(http_request *, HashTable *) */ @@ -128,6 +129,8 @@ PHP_HTTP_API void _http_request_info(http_request *request, HashTable *info) } /* }}} */ +#endif /* HTTP_HAVE_CURL */ + /* * Local variables: * tab-width: 4