From 5b55dee0720e8969d8b6ddd7fa3ef7a7f415abcc Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 25 Oct 2006 07:27:39 +0000 Subject: [PATCH] - fix build --without-http-curl-requests --- http_request_info.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2