diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 4756ea64..54a30064 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -35,6 +35,10 @@ extern "C" { #endif +#ifdef HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + #include #if defined(_MSC_VER) && (_MSC_VER < 1800) /* MSVC < 2013 does not have inttypes.h because it is not C99 @@ -44,7 +48,11 @@ extern "C" { #else /* !defined(_MSC_VER) || (_MSC_VER >= 1800) */ # include #endif /* !defined(_MSC_VER) || (_MSC_VER >= 1800) */ -#include + +#if !defined(HAS_NO_SYS_TYPES) +# include +#endif + #include #include