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 @@
#include <string.h>
#include <errno.h>
#include <signal.h>
+#ifdef WIN32
+#include <windows.h>
+#include <winsock2.h>
+#else
#include <sys/select.h>
+#endif
#include <libimobiledevice/libimobiledevice.h>
#include <libimobiledevice/debugserver.h>