From f42f4641a6e77c7b5214e7e58328dcfa7e453b66 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 26 Nov 2009 16:25:39 +0000 Subject: [PATCH] fixes to windows build --- include/libtorrent/add_torrent_params.hpp | 2 +- include/libtorrent/file.hpp | 2 +- include/libtorrent/storage_defs.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libtorrent/add_torrent_params.hpp b/include/libtorrent/add_torrent_params.hpp index 2c2fe8d09..fe7c6754e 100644 --- a/include/libtorrent/add_torrent_params.hpp +++ b/include/libtorrent/add_torrent_params.hpp @@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE. namespace libtorrent { - struct torrent_info; + class torrent_info; struct add_torrent_params { diff --git a/include/libtorrent/file.hpp b/include/libtorrent/file.hpp index 3eb6a696f..6cd997ca4 100644 --- a/include/libtorrent/file.hpp +++ b/include/libtorrent/file.hpp @@ -55,7 +55,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif -#include +#include #include #include #include diff --git a/include/libtorrent/storage_defs.hpp b/include/libtorrent/storage_defs.hpp index c18580f7f..0f6675f74 100644 --- a/include/libtorrent/storage_defs.hpp +++ b/include/libtorrent/storage_defs.hpp @@ -39,7 +39,7 @@ POSSIBILITY OF SUCH DAMAGE. namespace libtorrent { struct storage_interface; - struct file_storage; + class file_storage; struct file_pool; enum storage_mode_t