aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 269d0806c..b9a57aac3 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -83,6 +83,10 @@
#define ECONNREFUSED WSAECONNREFUSED
static void win32_cleanup(void);
+
+#if defined(ENABLE_IPV6) && defined(__MINGW32__)
+const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
+#endif
#endif
/* include memdebug.h last */