vcpkg/ports/libtorrent/boost-167.patch

49 lines
1.5 KiB
Diff
Raw Normal View History

2018-04-18 06:18:09 +08:00
diff --git a/include/libtorrent/ip_filter.hpp b/include/libtorrent/ip_filter.hpp
index dac1cab..0b29c64 100644
--- a/include/libtorrent/ip_filter.hpp
+++ b/include/libtorrent/ip_filter.hpp
@@ -42,6 +42,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/limits.hpp>
#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include <boost/cstdint.hpp>
#include <boost/tuple/tuple.hpp>
diff --git a/src/kademlia/routing_table.cpp b/src/kademlia/routing_table.cpp
index 1ac00de..1d11617 100644
--- a/src/kademlia/routing_table.cpp
+++ b/src/kademlia/routing_table.cpp
@@ -53,6 +53,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/cstdint.hpp>
#include <boost/bind.hpp>
+#include <boost/next_prior.hpp>
#include "libtorrent/aux_/disable_warnings_pop.hpp"
diff --git a/src/torrent.cpp b/src/torrent.cpp
index feacfa4..7b2b920 100644
--- a/src/torrent.cpp
+++ b/src/torrent.cpp
@@ -46,6 +46,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/bind.hpp>
#include <boost/make_shared.hpp>
+#include <boost/next_prior.hpp>
#if TORRENT_USE_I2P
# include <boost/algorithm/string/predicate.hpp>
#endif
diff --git a/test/test_ip_filter.cpp b/test/test_ip_filter.cpp
index 21ac404..40e3cd5 100644
--- a/test/test_ip_filter.cpp
+++ b/test/test_ip_filter.cpp
@@ -32,6 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/ip_filter.hpp"
#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include "test.hpp"
#include "settings.hpp"