--- a/core/backends/lan/mdns_wrapper.cpp
+++ b/core/backends/lan/mdns_wrapper.cpp
@@ -598,7 +598,8 @@
         memset(&sock_addr, 0, sizeof(struct sockaddr_in));
         sock_addr.sin_family = AF_INET;
 #ifdef _WIN32
-        sock_addr.sin_addr = in4addr_any;
+        // FIXME: Remove the workaround after adding the symbol in mingw-w64
+        sock_addr.sin_addr = { 0, 0, 0, 0 };
 #else
         sock_addr.sin_addr.s_addr = INADDR_ANY;
 #endif
