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
This commit is contained in:
Daniel Stenberg 2022-02-10 14:07:21 +01:00
parent d15692ebba
commit 836d3ccfe4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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. */