diff options
author | 2021-02-03 13:36:37 +0100 | |
---|---|---|
committer | 2021-02-03 13:36:37 +0100 | |
commit | 086e24e3808b7042532ea3d02c519da30f025728 (patch) | |
tree | db73986a69b24dc716279c36ad1c3f5d0dec44e8 | |
parent | 51fd30fcdad901a14aa777c92a92a04ccf569298 (diff) | |
download | libimobiledevice-086e24e3808b7042532ea3d02c519da30f025728.tar.gz libimobiledevice-086e24e3808b7042532ea3d02c519da30f025728.tar.bz2 |
tools: Fix idevicedebugserverproxy compilation on Windows
-rw-r--r-- | tools/idevicedebugserverproxy.c | 5 |
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> |