summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-02-03 13:36:37 +0100
committerGravatar Nikias Bassen2021-02-03 13:36:37 +0100
commit086e24e3808b7042532ea3d02c519da30f025728 (patch)
treedb73986a69b24dc716279c36ad1c3f5d0dec44e8 /tools
parent51fd30fcdad901a14aa777c92a92a04ccf569298 (diff)
downloadlibimobiledevice-086e24e3808b7042532ea3d02c519da30f025728.tar.gz
libimobiledevice-086e24e3808b7042532ea3d02c519da30f025728.tar.bz2
tools: Fix idevicedebugserverproxy compilation on Windows
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicedebugserverproxy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/idevicedebugserverproxy.c b/tools/idevicedebugserverproxy.c
index c094c30..035a231 100644
--- a/tools/idevicedebugserverproxy.c
+++ b/tools/idevicedebugserverproxy.c
@@ -31,7 +31,12 @@
31#include <string.h> 31#include <string.h>
32#include <errno.h> 32#include <errno.h>
33#include <signal.h> 33#include <signal.h>
34#ifdef WIN32
35#include <windows.h>
36#include <winsock2.h>
37#else
34#include <sys/select.h> 38#include <sys/select.h>
39#endif
35 40
36#include <libimobiledevice/libimobiledevice.h> 41#include <libimobiledevice/libimobiledevice.h>
37#include <libimobiledevice/debugserver.h> 42#include <libimobiledevice/debugserver.h>