diff --git a/libtorrent/include/libtorrent/ip_filter.hpp b/libtorrent/include/libtorrent/ip_filter.hpp index 7ce2ffc2..18e978e4 100644 --- a/libtorrent/include/libtorrent/ip_filter.hpp +++ b/libtorrent/include/libtorrent/ip_filter.hpp @@ -40,8 +40,14 @@ POSSIBILITY OF SUCH DAMAGE. #pragma warning(push, 1) #endif -#include +#include +#if BOOST_VERSION >= 106700 +#include +#else #include +#endif + +#include #include #ifdef _MSC_VER @@ -312,4 +318,3 @@ private: } #endif - diff --git a/libtorrent/include/libtorrent/kademlia/routing_table.hpp b/libtorrent/include/libtorrent/kademlia/routing_table.hpp index 8488ff60..d76b1e98 100644 --- a/libtorrent/include/libtorrent/kademlia/routing_table.hpp +++ b/libtorrent/include/libtorrent/kademlia/routing_table.hpp @@ -36,7 +36,13 @@ POSSIBILITY OF SUCH DAMAGE. #include #include +#include +#if BOOST_VERSION >= 106700 +#include +#else #include +#endif + #include #include #include @@ -220,4 +226,3 @@ private: } } // namespace libtorrent::dht #endif // ROUTING_TABLE_HPP -