diff --git a/test/src/unit-conversions.cpp b/test/src/unit-conversions.cpp index 185012621..624b3898d 100644 --- a/test/src/unit-conversions.cpp +++ b/test/src/unit-conversions.cpp @@ -49,8 +49,15 @@ using nlohmann::json; #define JSON_HAS_CPP_14 #endif +#ifdef JSON_HAS_CPP_17 + #if __has_include() + #include + #elif __has_include() + #include + #endif +#endif + #if defined(JSON_HAS_CPP_17) - #include #include #endif