From 52693ae5788a41e046b77d55afd0f40a8fea3414 Mon Sep 17 00:00:00 2001 From: stickz Date: Sun, 24 Nov 2024 19:02:19 -0500 Subject: [PATCH] Add missing vector include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` In file included from option_strings.cc:43: ./../../torrent/connection_manager.h:246:8: error: ‘vector’ in namespace ‘std’ does not name a template type 246 | std::vector m_tracker_udp_list; | ^~~~~~ ./../../torrent/connection_manager.h:51:1: note: ‘std::vector’ is defined in header ‘’; did you forget to ‘#include ’? 50 | #include +++ |+#include ``` --- libtorrent/src/torrent/connection_manager.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libtorrent/src/torrent/connection_manager.h b/libtorrent/src/torrent/connection_manager.h index 2ba238ce..cd2a2332 100644 --- a/libtorrent/src/torrent/connection_manager.h +++ b/libtorrent/src/torrent/connection_manager.h @@ -49,6 +49,10 @@ #include lt_tr1_functional #include +#ifdef USE_UDNS +#include +#endif + namespace torrent { #ifdef USE_UDNS