forked from premiere/premiere-libtorrent
build fixes
This commit is contained in:
parent
54cce9da60
commit
e289b9c6ac
|
@ -78,6 +78,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/policy.hpp" // for policy::peer
|
||||
#include "libtorrent/alert.hpp" // for alert_manager
|
||||
#include "libtorrent/deadline_timer.hpp"
|
||||
#include "libtorrent/socket_io.hpp" // for print_address
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
|
|
@ -122,6 +122,7 @@ private:
|
|||
|
||||
bool m_is_v6:1;
|
||||
#ifdef TORRENT_DEBUG
|
||||
public:
|
||||
bool m_in_constructor:1;
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -87,7 +87,7 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
traversal_algorithm::traversal_algorithm(
|
||||
traversal_algorithm(
|
||||
node_impl& node
|
||||
, node_id target)
|
||||
: m_ref_count(0)
|
||||
|
|
|
@ -525,7 +525,9 @@ namespace libtorrent { namespace dht
|
|||
int ret = lazy_bdecode(buf, buf + bytes_transferred, e);
|
||||
if (ret != 0)
|
||||
{
|
||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||
TORRENT_LOG(dht_tracker) << "<== " << ep << " ERROR: Invalid bencoding";
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/buffer.hpp"
|
||||
#include "libtorrent/http_parser.hpp"
|
||||
#include "libtorrent/escape_string.hpp"
|
||||
#include "libtorrent/socket_io.hpp" // for print_address
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/ref.hpp>
|
||||
|
|
|
@ -58,7 +58,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#ifndef TORRENT_DISABLE_DHT
|
||||
|
||||
#include <libtorrent/kademlia/find_data.hpp>
|
||||
#include <libtorrent/kademlia/closest_nodes.hpp>
|
||||
#include <libtorrent/kademlia/refresh.hpp>
|
||||
#include <libtorrent/kademlia/node.hpp>
|
||||
#include <libtorrent/kademlia/observer.hpp>
|
||||
|
|
Loading…
Reference in New Issue