summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>