diff options
author | Nikias Bassen | 2021-02-03 13:36:37 +0100 |
---|---|---|
committer | Nikias Bassen | 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 @@ #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> |