forked from premiere/premiere-libtorrent
fix build
This commit is contained in:
parent
badd763f86
commit
8cd5853ceb
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue