forked from premiere/premiere-libtorrent
made it work properly when building with stats logging
This commit is contained in:
parent
c5fd5ecfb4
commit
948b2bafe6
|
@ -625,6 +625,7 @@ namespace detail
|
|||
"\n";
|
||||
m_buffer_usage_logger.open("buffer_stats.log", std::ios::trunc);
|
||||
m_second_counter = 0;
|
||||
m_buffer_allocations = 0;
|
||||
#endif
|
||||
|
||||
// ---- generate a peer id ----
|
||||
|
|
|
@ -56,6 +56,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/extensions.hpp"
|
||||
#include "libtorrent/extensions/metadata_transfer.hpp"
|
||||
#include "libtorrent/alert_types.hpp"
|
||||
#ifdef TORRENT_STATS
|
||||
#include "libtorrent/aux_/session_impl.hpp"
|
||||
#endif
|
||||
|
||||
namespace libtorrent { namespace
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue