diff options
author | Martin Szulecki | 2012-03-21 14:54:50 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-03-21 14:54:50 +0100 |
commit | f322dfcb9718b80f9410ebafd8d159e5fc116a88 (patch) | |
tree | dc2c6cb5917e3f06ef2bcdc947538b9d3e9adf0a | |
parent | 103694072082ee7d55b134d7dad3084200e38871 (diff) | |
download | libimobiledevice-f322dfcb9718b80f9410ebafd8d159e5fc116a88.tar.gz libimobiledevice-f322dfcb9718b80f9410ebafd8d159e5fc116a88.tar.bz2 |
dev: Fix compiler warnings
-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> |