summaryrefslogtreecommitdiffstats
path: root/tools/ideviceprovision.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-11-29 17:39:17 +0100
committerGravatar Nikias Bassen2012-11-29 17:39:17 +0100
commit0cc434f7aadc4ea0dd837e9461674eb76f963884 (patch)
treea80ff3472a8f753923e3a10f5c0140fdf1a9bf16 /tools/ideviceprovision.c
parentc2b410e55a78b3607401bc794b627e212f68e4ad (diff)
downloadlibimobiledevice-0cc434f7aadc4ea0dd837e9461674eb76f963884.tar.gz
libimobiledevice-0cc434f7aadc4ea0dd837e9461674eb76f963884.tar.bz2
ideviceprovision: fix warning when building for win32
Diffstat (limited to 'tools/ideviceprovision.c')
-rw-r--r--tools/ideviceprovision.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c
index b9e255c..1c6866d 100644
--- a/tools/ideviceprovision.c
+++ b/tools/ideviceprovision.c
@@ -23,7 +23,11 @@
#include <stdlib.h>
#include <string.h>
+#ifdef WIN32
+#include <windows.h>
+#else
#include <arpa/inet.h>
+#endif
#include <libimobiledevice/libimobiledevice.h>
#include <libimobiledevice/lockdown.h>