header dependency fix

This commit is contained in:
Arvid Norberg 2009-11-26 22:30:50 +00:00
parent 072d3b0f48
commit b38df8941d
3 changed files with 12 additions and 1 deletions

View File

@ -39,7 +39,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/config.hpp"
#include "libtorrent/assert.hpp"
#include "libtorrent/identify_client.hpp"
//#include "libtorrent/socket_io.hpp"
#include "libtorrent/address.hpp"
namespace libtorrent

View File

@ -34,6 +34,12 @@ POSSIBILITY OF SUCH DAMAGE.
#define TORRENT_ERROR_HPP_INCLUDED
#include <boost/version.hpp>
#include "libtorrent/config.hpp"
#if defined TORRENT_WINDOWS || defined TORRENT_CYGWIN
// asio assumes that the windows error codes are defined already
#include <winsock2.h>
#endif
#if BOOST_VERSION < 103500
#include <asio/error.hpp>

View File

@ -34,6 +34,12 @@ POSSIBILITY OF SUCH DAMAGE.
#define TORRENT_ERROR_CODE_HPP_INCLUDED
#include <boost/version.hpp>
#include "libtorrent/config.hpp"
#if defined TORRENT_WINDOWS || defined TORRENT_CYGWIN
// asio assumes that the windows error codes are defined already
#include <winsock2.h>
#endif
#if BOOST_VERSION < 103500
#include <asio/error_code.hpp>