This header has the definition of getaddrinfo, according to: https://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx --- 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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel