diff options
| author | 2014-10-03 06:38:58 +0200 | |
|---|---|---|
| committer | 2014-10-03 06:38:58 +0200 | |
| commit | d335f9350eef7b0140a249f92b791dc88b2900e5 (patch) | |
| tree | ffb2344f85571bc3a75700814bf1627af11c5c2d | |
| parent | 042c03df28fb745700e6bc636d43d91e3f03907d (diff) | |
| download | libimobiledevice-d335f9350eef7b0140a249f92b791dc88b2900e5.tar.gz libimobiledevice-d335f9350eef7b0140a249f92b791dc88b2900e5.tar.bz2 | |
idevicedebug: Fix win32 build
| -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 @@ | |||
| 27 | #include <unistd.h> | 27 | #include <unistd.h> |
| 28 | #include <libgen.h> | 28 | #include <libgen.h> |
| 29 | 29 | ||
| 30 | #ifdef WIN32 | ||
| 31 | #include <windows.h> | ||
| 32 | #define sleep(x) Sleep(x*1000) | ||
| 33 | #endif | ||
| 34 | |||
| 30 | #include <libimobiledevice/installation_proxy.h> | 35 | #include <libimobiledevice/installation_proxy.h> |
| 31 | #include <libimobiledevice/libimobiledevice.h> | 36 | #include <libimobiledevice/libimobiledevice.h> |
| 32 | #include <libimobiledevice/debugserver.h> | 37 | #include <libimobiledevice/debugserver.h> |
