From f25bf312fc4ee49f1bc38ef1ccd27b499261fc57 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 17 May 2020 13:58:09 +0200 Subject: [PATCH] :checkered_flag: include right header --- test/src/unit-conversions.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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