summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-10-03 06:38:58 +0200
committerGravatar Nikias Bassen2014-10-03 06:38:58 +0200
commitd335f9350eef7b0140a249f92b791dc88b2900e5 (patch)
treeffb2344f85571bc3a75700814bf1627af11c5c2d /tools
parent042c03df28fb745700e6bc636d43d91e3f03907d (diff)
downloadlibimobiledevice-d335f9350eef7b0140a249f92b791dc88b2900e5.tar.gz
libimobiledevice-d335f9350eef7b0140a249f92b791dc88b2900e5.tar.bz2
idevicedebug: Fix win32 build
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicedebug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c
index 784503a..942ffe2 100644
--- a/tools/idevicedebug.c
+++ b/tools/idevicedebug.c
@@ -27,6 +27,11 @@
#include <unistd.h>
#include <libgen.h>
+#ifdef WIN32
+#include <windows.h>
+#define sleep(x) Sleep(x*1000)
+#endif
+
#include <libimobiledevice/installation_proxy.h>
#include <libimobiledevice/libimobiledevice.h>
#include <libimobiledevice/debugserver.h>