diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 925a4cbc..8f781529 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -52,6 +52,13 @@ extern "C" { #include #include +#if defined(_MSC_VER) +/* ssize_t is part of the Posix standard but not the C standard. + It is not supported in MSVC. */ +# include +# define ssize_t SSIZE_T +#endif + #include #ifdef NGHTTP2_STATICLIB