X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_info.c;h=110021102687bd9594907c186e015c2d04f1ef69;hp=71bd4fc21ed5c433d953c98b28ea4ef5b8f6d2af;hb=2d8b53a0bcac3e00619fe266dcbb46142d79c71c;hpb=2f5421a388a398ec47ff0c44e2a8c99a6ad08087 diff --git a/http_request_info.c b/http_request_info.c index 71bd4fc..1100211 100644 --- a/http_request_info.c +++ b/http_request_info.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2007, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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