From 71c0a13703e8d9453699fa578e527e6e859b674b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 31 May 2007 19:03:46 +0000 Subject: [PATCH] r13110@catbus: nickm | 2007-05-31 15:03:24 -0400 Fix windows build. svn:r10424 --- src/common/compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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];