--- libshout/src/common/net/sock.c.socklen	2018-03-29 15:11:28.885555300 +0200
+++ libshout/src/common/net/sock.c	2018-03-29 11:13:03.178552900 +0200
@@ -57,6 +57,9 @@
 #include <netdb.h>
 #else
 #include <winsock2.h>
+#undef WINAPI_FAMILY
+#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
+#include <ws2tcpip.h>
 #endif
 
 #include "sock.h"