merged fix from RC_0_16

This commit is contained in:
Arvid Norberg 2012-08-20 14:57:57 +00:00
parent df98104a76
commit 4c61e86691
1 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/config.hpp"
#include "libtorrent/intrusive_ptr_base.hpp"
#include <sys/stat.h>
#ifdef TORRENT_WINDOWS
// windows part
#ifndef WIN32_LEAN_AND_MEAN
@ -59,7 +61,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include <windows.h>
#include <winioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#else
// posix part
#define _FILE_OFFSET_BITS 64