From: Michael Wallner Date: Wed, 25 Oct 2006 07:27:39 +0000 (+0000) Subject: - fix build --without-http-curl-requests X-Git-Tag: RELEASE_1_3_3~6 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=5b55dee0720e8969d8b6ddd7fa3ef7a7f415abcc;hp=bf7e7f73ea5db037b861f781e958f09a8af39b53 - fix build --without-http-curl-requests --- 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