diff options
author | Martin Szulecki | 2012-03-21 14:54:50 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-03-22 18:55:04 +0100 |
commit | 75ed654ba636dd77c0ecdc9f83c9fb526923c363 (patch) | |
tree | 8091e700138b355c1c74dbdd8054a602d93fa2e2 /dev | |
parent | c47223c3bfedad17e4b0c99c0118c2c7b2b6b65a (diff) | |
download | libimobiledevice-75ed654ba636dd77c0ecdc9f83c9fb526923c363.tar.gz libimobiledevice-75ed654ba636dd77c0ecdc9f83c9fb526923c363.tar.bz2 |
dev: Fix compiler warnings
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 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> |