From 4d2296351a31b2184cc0e755479d7ad6f52d004f Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 21 Oct 2017 22:58:04 +0200 Subject: [PATCH] Try to fix boost includes for ubuntu xenial. --- src/kernel/context/ContextBoost.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kernel/context/ContextBoost.hpp b/src/kernel/context/ContextBoost.hpp index bddbb1bc39..a067e8adf9 100644 --- a/src/kernel/context/ContextBoost.hpp +++ b/src/kernel/context/ContextBoost.hpp @@ -6,7 +6,12 @@ #ifndef SIMGRID_SIMIX_BOOST_CONTEXT_HPP #define SIMGRID_SIMIX_BOOST_CONTEXT_HPP -#include +#include +#if BOOST_VERSION < 106100 +#include +#else +#include +#endif #include #include -- 2.20.1