aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-12-12 20:14:25 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-12-12 20:14:25 +0000
commit22a0c57746ae12506b1ba0f0fafffd26c1907d6a (patch)
tree765146eb3eab79e92583f6c6b35e8a37bbc82f05
parentfec571f5b03ce705ea06e2edb02c9d9e786e7bf3 (diff)
Missing 'in6addr_any' in MingW's lib. ld bug?
-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 */