fix build with disk stats enabled
This commit is contained in:
@@ -42,6 +42,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <boost/pool/pool.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef TORRENT_DISK_STATS
|
||||
#include <fstream>
|
||||
#endif
|
||||
|
||||
#if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS
|
||||
#include <map>
|
||||
#endif
|
||||
|
@@ -38,6 +38,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#ifdef TORRENT_DISK_STATS
|
||||
#include "libtorrent/time.hpp"
|
||||
#endif
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
disk_buffer_pool::disk_buffer_pool(int block_size)
|
||||
|
Reference in New Issue
Block a user