summaryrefslogtreecommitdiffstats
path: root/tools/idevicedebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicedebug.c')
-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>