diff options
author | Nikias Bassen | 2014-10-03 06:38:58 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-10-03 06:38:58 +0200 |
commit | d335f9350eef7b0140a249f92b791dc88b2900e5 (patch) | |
tree | ffb2344f85571bc3a75700814bf1627af11c5c2d /tools/idevicedebug.c | |
parent | 042c03df28fb745700e6bc636d43d91e3f03907d (diff) | |
download | libimobiledevice-d335f9350eef7b0140a249f92b791dc88b2900e5.tar.gz libimobiledevice-d335f9350eef7b0140a249f92b791dc88b2900e5.tar.bz2 |
idevicedebug: Fix win32 build
Diffstat (limited to 'tools/idevicedebug.c')
-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> |