aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 596771acd..c6a5c41dc 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -38,6 +38,8 @@ CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req,
struct connectdata *conn);
void Curl_http2_switched(struct connectdata *conn);
#else /* USE_NGHTTP2 */
+#define Curl_http2_init(x)
+#define Curl_http2_send_request(x)
#define Curl_http2_request_upgrade(x,y) CURLE_OK
#define Curl_http2_switched(x)
#endif