diff --git a/lib/http.h b/lib/http.h index 1d8e590ad5..b24b2d17ca 100644 --- a/lib/http.h +++ b/lib/http.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2022, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2023, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -42,7 +42,7 @@ typedef enum { #ifndef CURL_DISABLE_HTTP -#if defined(_WIN32) && defined(ENABLE_QUIC) +#if defined(_WIN32) && (defined(ENABLE_QUIC) || defined(USE_NGHTTP2)) #include #endif