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 @@ #include <string.h> #include <errno.h> +#ifdef WIN32 +#include <windows.h> +#define sleep(x) Sleep(x*1000) +#else +#include <unistd.h> +#endif + #include <libimobiledevice/libimobiledevice.h> #include <libimobiledevice/lockdown.h> #include <libimobiledevice/afc.h> |