diff --git a/src/thread/context.hpp b/src/thread/context.hpp index 18a060c..51450cc 100644 --- a/src/thread/context.hpp +++ b/src/thread/context.hpp @@ -1,6 +1,5 @@ #pragma once #include -#include #include #include @@ -9,6 +8,12 @@ #define BOOST_COROUTINES_NO_DEPRECATION_WARNING // Boost 1.61 #define BOOST_COROUTINE_NO_DEPRECATION_WARNING // Boost 1.62 +#if BOOST_VERSION >= 106800 +#include +#else +#include +#endif + #if BOOST_VERSION >= 106100 #include namespace bc = boost::context::detail;