fix build

This commit is contained in:
Arvid Norberg 2015-03-15 18:04:45 +00:00
parent badd763f86
commit 8cd5853ceb
2 changed files with 4 additions and 3 deletions

View File

@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <list>
#include "libtorrent/thread.hpp"
#include "test.hpp"
#include "setup_transfer.hpp" // for test_sleep
using namespace libtorrent;
@ -83,7 +84,7 @@ int test_main()
while (waiting < 20)
{
l.unlock();
sleep(10);
test_sleep(10);
l.lock();
}
@ -110,7 +111,7 @@ int test_main()
while (waiting < 6)
{
l.unlock();
sleep(10);
test_sleep(10);
l.lock();
}

View File

@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/session.hpp"
#include "libtorrent/escape_string.hpp" // for from_hex
#include "libtorrent/hex.hpp" // for from_hex
#include "libtorrent/alert_types.hpp"
#include "libtorrent/bencode.hpp" // for bencode()
#include "libtorrent/kademlia/item.hpp" // for sign_mutable_item