diff --git a/include/libtorrent/aux_/session_impl.hpp b/include/libtorrent/aux_/session_impl.hpp index 0376afab6..f71314040 100644 --- a/include/libtorrent/aux_/session_impl.hpp +++ b/include/libtorrent/aux_/session_impl.hpp @@ -81,7 +81,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/alert.hpp" // for alert_manager #include "libtorrent/deadline_timer.hpp" #include "libtorrent/socket_io.hpp" // for print_address -#include "libtorrent/peer_connection.hpp" // for intrusive_ptr_release #include "libtorrent/address.hpp" #ifdef TORRENT_STATS diff --git a/src/smart_ban.cpp b/src/smart_ban.cpp index bb65fc338..bb336e3b8 100644 --- a/src/smart_ban.cpp +++ b/src/smart_ban.cpp @@ -55,6 +55,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/extensions/smart_ban.hpp" #include "libtorrent/disk_io_thread.hpp" #include "libtorrent/aux_/session_impl.hpp" +#include "libtorrent/peer_connection.hpp" namespace libtorrent {