windows fixes

This commit is contained in:
Arvid Norberg 2009-06-23 17:52:05 +00:00
parent 2c5ef0debf
commit f96a5c247f
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,9 @@ POSSIBILITY OF SUCH DAMAGE.
#ifdef TORRENT_WINDOWS
// windows part
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <winioctl.h>
#else

View File

@ -39,10 +39,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/bind.hpp>
#ifndef TORRENT_WINDOWS
#include <sys/types.h>
#include <sys/stat.h>
#endif
namespace gr = boost::gregorian;