aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 35dce9541..461bfe36b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -771,8 +771,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
va_list param)
{
char *argptr;
- curl_off_t bigsize;
CURLcode result = CURLE_OK;
+#ifndef CURL_DISABLE_HTTP
+ curl_off_t bigsize;
+#endif
switch(option) {
case CURLOPT_DNS_CACHE_TIMEOUT: