diff options
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/ideviceclient.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev/ideviceclient.c b/dev/ideviceclient.c index 0400fed..c7bde4d 100644 --- a/dev/ideviceclient.c +++ b/dev/ideviceclient.c | |||
| @@ -24,6 +24,13 @@ | |||
| 24 | #include <string.h> | 24 | #include <string.h> |
| 25 | #include <errno.h> | 25 | #include <errno.h> |
| 26 | 26 | ||
| 27 | #ifdef WIN32 | ||
| 28 | #include <windows.h> | ||
| 29 | #define sleep(x) Sleep(x*1000) | ||
| 30 | #else | ||
| 31 | #include <unistd.h> | ||
| 32 | #endif | ||
| 33 | |||
| 27 | #include <libimobiledevice/libimobiledevice.h> | 34 | #include <libimobiledevice/libimobiledevice.h> |
| 28 | #include <libimobiledevice/lockdown.h> | 35 | #include <libimobiledevice/lockdown.h> |
| 29 | #include <libimobiledevice/afc.h> | 36 | #include <libimobiledevice/afc.h> |
