fix build with disk stats enabled
This commit is contained in:
parent
6ec096d3d2
commit
2c2bd49a4e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue