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