fix boost-1.67 build

This commit is contained in:
Simon Grim 2018-10-19 06:13:36 +05:00
parent 53ffd95805
commit 19364110b5
2 changed files with 13 additions and 3 deletions

View File

@ -40,8 +40,14 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma warning(push, 1)
#endif
#include <boost/limits.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION >= 106700
#include <boost/next_prior.hpp>
#else
#include <boost/utility.hpp>
#endif
#include <boost/limits.hpp>
#include <boost/tuple/tuple.hpp>
#ifdef _MSC_VER
@ -312,4 +318,3 @@ private:
}
#endif

View File

@ -36,7 +36,13 @@ POSSIBILITY OF SUCH DAMAGE.
#include <vector>
#include <boost/cstdint.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION >= 106700
#include <boost/next_prior.hpp>
#else
#include <boost/utility.hpp>
#endif
#include <boost/tuple/tuple.hpp>
#include <boost/array.hpp>
#include <set>
@ -220,4 +226,3 @@ private:
} } // namespace libtorrent::dht
#endif // ROUTING_TABLE_HPP