[Spice-devel] [PATCH 3/4 v2] mingw: include ws2tcpip header
Fabiano FidĂȘncio
fidencio at redhat.com
Thu Oct 8 08:23:27 PDT 2015
This header has the definition of getaddrinfo, according to:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx
---
Changes since v1:
- No changes since v1
---
src/vscclient.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vscclient.c b/src/vscclient.c
index fad8db9..24015ef 100644
--- a/src/vscclient.c
+++ b/src/vscclient.c
@@ -20,6 +20,7 @@
#include <unistd.h>
#define closesocket(x) close(x)
#else
+#include <ws2tcpip.h>
#include <getopt.h>
#endif
--
2.4.3
More information about the Spice-devel
mailing list