summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index be8e19eeea..62612b72c6 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -244,7 +244,8 @@ int get_n_open_sockets(void);
typedef int socklen_t;
#endif
-#ifndef HAVE_STRUCT_IN6_ADDR
+/* XXXX020 detect in6_addr correctly on ms_windows; this is a hack. */
+#if !defined(HAVE_STRUCT_IN6_ADDR) && !defined(MS_WINDOWS)
struct in6_addr
{
uint8_t s6_addr[16];