diff --git a/include/boost/http_proto/detail/type_traits.hpp b/include/boost/http_proto/detail/type_traits.hpp index 457e5ea2..bb3c3eb1 100644 --- a/include/boost/http_proto/detail/type_traits.hpp +++ b/include/boost/http_proto/detail/type_traits.hpp @@ -10,7 +10,11 @@ #ifndef BOOST_HTTP_PROTO_DETAIL_TYPE_TRAITS_HPP #define BOOST_HTTP_PROTO_DETAIL_TYPE_TRAITS_HPP +#if __cplusplus >= 202002L +#include +#else #include +#endif #include namespace boost {