diff options
-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 d952594..ab89081 100644 --- a/dev/ideviceclient.c +++ b/dev/ideviceclient.c @@ -25,6 +25,13 @@ #include <errno.h> #include <glib.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> |