diff --git a/simgear/nasal/cppbind/NasalHash.hxx b/simgear/nasal/cppbind/NasalHash.hxx index 5019d08b..59281643 100644 --- a/simgear/nasal/cppbind/NasalHash.hxx +++ b/simgear/nasal/cppbind/NasalHash.hxx @@ -24,7 +24,11 @@ #include #include +#if BOOST_VERSION >= 105600 #include +#else +#include +#endif namespace nasal { diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 68d3c03c..3afc8796 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -56,7 +56,11 @@ namespace boost { } #else # include -# include +#if BOOST_VERSION >= 105600 +#include +#else +#include +#endif # include # include diff --git a/simgear/structure/SGWeakReferenced.hxx b/simgear/structure/SGWeakReferenced.hxx index 27f647b4..24db41b8 100644 --- a/simgear/structure/SGWeakReferenced.hxx +++ b/simgear/structure/SGWeakReferenced.hxx @@ -22,7 +22,11 @@ #include "SGSharedPtr.hxx" #include +#if BOOST_VERSION >= 105600 #include +#else +#include +#endif #ifdef _MSC_VER # pragma warning(push)