From 8e3bb75cf15507083f3c74649fa01ffd05413754 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 21 Jul 2013 17:23:56 +0000 Subject: [PATCH] fix build --- include/libtorrent/kademlia/node_entry.hpp | 4 ++++ include/libtorrent/session.hpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/kademlia/node_entry.hpp b/include/libtorrent/kademlia/node_entry.hpp index a0c003e6e..caa919911 100644 --- a/include/libtorrent/kademlia/node_entry.hpp +++ b/include/libtorrent/kademlia/node_entry.hpp @@ -38,6 +38,10 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/address.hpp" #include "libtorrent/union_endpoint.hpp" +#ifdef TORRENT_DHT_VERBOSE_LOGGING +#include "libtorrent/time.hpp" +#endif + namespace libtorrent { namespace dht { diff --git a/include/libtorrent/session.hpp b/include/libtorrent/session.hpp index d7f79e137..9a000b09b 100644 --- a/include/libtorrent/session.hpp +++ b/include/libtorrent/session.hpp @@ -486,7 +486,7 @@ namespace libtorrent // ``remove_torrent()`` will close all peer connections associated with the torrent and tell // the tracker that we've stopped participating in the swarm. The optional second argument -` // `options`` can be used to delete all the files downloaded by this torrent. To do this, pass + // `options`` can be used to delete all the files downloaded by this torrent. To do this, pass // in the value ``session::delete_files``. The removal of the torrent is asyncronous, there is // no guarantee that adding the same torrent immediately after it was removed will not throw // a libtorrent_exception_ exception. Once the torrent is deleted, a torrent_deleted_alert_