]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib/h2h3: #ifdef on ENABLE_QUIC, not the wrong define
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Feb 2022 13:07:21 +0000 (14:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Feb 2022 14:12:02 +0000 (15:12 +0100)
Otherwise the build fails when H3 is enabled but the build doesn't
include nghttp2.

Closes #8424

lib/h2h3.c

index f6695d355d0d315e91386d6580f1d7a094a6fe33..341a3caa75d250a700fced61d1a0c883d99e8273 100644 (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. */