--- 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 #else #include +#undef WINAPI_FAMILY +#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP +#include #endif #include "sock.h"