build fixes

This commit is contained in:
Arvid Norberg 2014-08-27 07:50:36 +00:00
parent bdd1c65399
commit 83c0a4e519
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,6 @@
#include <list> #include <list>
#include <string> #include <string>
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include <libtorrent/settings.hpp> // for bencode_map_entry
#include <libtorrent/storage.hpp> #include <libtorrent/storage.hpp>
#include <libtorrent/error_code.hpp> #include <libtorrent/error_code.hpp>
#include <libtorrent/ip_filter.hpp> #include <libtorrent/ip_filter.hpp>

View File

@ -60,6 +60,10 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/asio/ip/multicast.hpp> #include <boost/asio/ip/multicast.hpp>
#endif #endif
#ifdef TORRENT_WINDOWS
#include <iphlpapi.h> // for if_nametoindex
#endif
namespace libtorrent namespace libtorrent
{ {
bool is_local(address const& a) bool is_local(address const& a)