diff --git a/include/pmacc/cuSTL/algorithm/kernel/run-time/Foreach.hpp b/include/pmacc/cuSTL/algorithm/kernel/run-time/Foreach.hpp index d5656a9f5f..a62014b930 100644 --- a/include/pmacc/cuSTL/algorithm/kernel/run-time/Foreach.hpp +++ b/include/pmacc/cuSTL/algorithm/kernel/run-time/Foreach.hpp @@ -37,7 +37,11 @@ #include #include #include -#include +#if( BOOST_VERSION < 106700 ) +# include +#else +# include +#endif #include "pmacc/eventSystem/tasks/TaskKernel.hpp" #include "pmacc/eventSystem/events/kernelEvents.hpp" diff --git a/include/pmacc/cuSTL/container/assigner/DeviceMemAssigner.hpp b/include/pmacc/cuSTL/container/assigner/DeviceMemAssigner.hpp index c129094184..fd15822fa9 100644 --- a/include/pmacc/cuSTL/container/assigner/DeviceMemAssigner.hpp +++ b/include/pmacc/cuSTL/container/assigner/DeviceMemAssigner.hpp @@ -31,7 +31,11 @@ #include -#include +#if( BOOST_VERSION < 106700 ) +# include +#else +# include +#endif #include #include