From 836d3ccfe48504cd815605a87332b1e54191052d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Feb 2022 14:07:21 +0100 Subject: [PATCH] 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 --- lib/h2h3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */