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();
}