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