fix build with no extensions support

This commit is contained in:
Arvid Norberg
2011-01-29 12:13:49 +00:00
parent 87dfdd4790
commit 0c16163e71
12 changed files with 33 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/entry.hpp"
#include "libtorrent/peer_request.hpp"
#if TORRENT_USE_IOSTREAM
#if TORRENT_USE_IOSTREAM && !defined TORRENT_DISABLE_EXTENSIONS
#include <fstream>
#include "libtorrent/file.hpp"