summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index 4d8a9d1d5..c0dbc996f 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -156,10 +156,11 @@ struct HTTP {
HTTPSEND_LAST /* never use this */
} sending;
+#ifndef CURL_DISABLE_HTTP
Curl_send_buffer *send_buffer; /* used if the request couldn't be sent in
one chunk, points to an allocated
send_buffer struct */
-
+#endif
#ifdef USE_NGHTTP2
/*********** for HTTP/2 we store stream-local data here *************/
int32_t stream_id; /* stream we are interested in */