diff options
-rw-r--r-- | tools/idevicedebug.c | 5 |
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> |