diff options
| author | 2024-11-27 12:56:02 +0100 | |
|---|---|---|
| committer | 2024-11-29 14:38:42 +0100 | |
| commit | 9bc95a0c307e7614cc3d10671d6c1c90c3ac0a9f (patch) | |
| tree | 685088ccc31d3a0971ee65d42346294af1011b4d /src/lockdown-cu.c | |
| parent | 563f912919d4615486ed3e02b517b005f784c1d9 (diff) | |
| download | libimobiledevice-9bc95a0c307e7614cc3d10671d6c1c90c3ac0a9f.tar.gz libimobiledevice-9bc95a0c307e7614cc3d10671d6c1c90c3ac0a9f.tar.bz2 | |
Fix compilation on MSVC
Diffstat (limited to 'src/lockdown-cu.c')
| -rw-r--r-- | src/lockdown-cu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lockdown-cu.c b/src/lockdown-cu.c index e0af5e2..9fbd2c8 100644 --- a/src/lockdown-cu.c +++ b/src/lockdown-cu.c | |||
| @@ -29,7 +29,11 @@ | |||
| 29 | #define __USE_GNU 1 | 29 | #define __USE_GNU 1 |
| 30 | #include <stdio.h> | 30 | #include <stdio.h> |
| 31 | #include <ctype.h> | 31 | #include <ctype.h> |
| 32 | |||
| 33 | #ifndef _MSC_VER | ||
| 32 | #include <unistd.h> | 34 | #include <unistd.h> |
| 35 | #endif | ||
| 36 | |||
| 33 | #include <plist/plist.h> | 37 | #include <plist/plist.h> |
| 34 | 38 | ||
| 35 | #include "idevice.h" | 39 | #include "idevice.h" |
