From: Daniel Stenberg Date: Thu, 10 Feb 2022 13:07:21 +0000 (+0100) Subject: lib/h2h3: #ifdef on ENABLE_QUIC, not the wrong define X-Git-Tag: curl-7_82_0~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=836d3ccfe48504cd815605a87332b1e54191052d;p=thirdparty%2Fcurl.git lib/h2h3: #ifdef on ENABLE_QUIC, not the wrong define Otherwise the build fails when H3 is enabled but the build doesn't include nghttp2. Closes #8424 --- diff --git a/lib/h2h3.c b/lib/h2h3.c index f6695d355d..341a3caa75 100644 --- a/lib/h2h3.c +++ b/lib/h2h3.c @@ -37,7 +37,7 @@ * used in a HTTP/2 or HTTP/3 request. */ -#if defined(USE_NGHTTP2) || defined(USE_HTTP3) +#if defined(USE_NGHTTP2) || defined(ENABLE_QUIC) /* Index where :authority header field will appear in request header field list. */