diff --git a/test/variant_json_value_from.cpp b/test/variant_json_value_from.cpp index 9734c74..be5dc3a 100644 --- a/test/variant_json_value_from.cpp +++ b/test/variant_json_value_from.cpp @@ -2,6 +2,12 @@ // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt +#include + +#if defined(BOOST_GCC) && BOOST_GCC < 50000 +# define BOOST_ALLOW_DEPRECATED +#endif + #include #include #include diff --git a/test/variant_json_value_to.cpp b/test/variant_json_value_to.cpp index 1263931..5b42cc0 100644 --- a/test/variant_json_value_to.cpp +++ b/test/variant_json_value_to.cpp @@ -2,6 +2,12 @@ // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt +#include + +#if defined(BOOST_GCC) && BOOST_GCC < 50000 +# define BOOST_ALLOW_DEPRECATED +#endif + #include #include #include