diff --git a/include/libtorrent/disk_io_thread.hpp b/include/libtorrent/disk_io_thread.hpp index a77522356..3aef6f7b7 100644 --- a/include/libtorrent/disk_io_thread.hpp +++ b/include/libtorrent/disk_io_thread.hpp @@ -30,6 +30,9 @@ POSSIBILITY OF SUCH DAMAGE. */ +#ifndef TORRENT_DISK_IO_THREAD +#define TORRENT_DISK_IO_THREAD + #ifdef TORRENT_DISK_STATS #include #endif @@ -152,3 +155,5 @@ namespace libtorrent } +#endif +