diff --git a/include/nlohmann/detail/json_custom_base_class.hpp b/include/nlohmann/detail/json_custom_base_class.hpp index 5dc839ff3..ff06653ab 100644 --- a/include/nlohmann/detail/json_custom_base_class.hpp +++ b/include/nlohmann/detail/json_custom_base_class.hpp @@ -2,6 +2,8 @@ #include // conditional, is_same +#include + NLOHMANN_JSON_NAMESPACE_BEGIN namespace detail { diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 20cda85d9..ec0511e6f 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -13680,6 +13680,9 @@ NLOHMANN_JSON_NAMESPACE_END #include // conditional, is_same +// #include + + NLOHMANN_JSON_NAMESPACE_BEGIN namespace detail {