diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-31 19:03:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-31 19:03:46 +0000 |
commit | 71c0a13703e8d9453699fa578e527e6e859b674b (patch) | |
tree | c9b102caca3939b265f16a3f6e9970462110e12c /src/common/compat.h | |
parent | 884cb0c7a1cf949f08b5b36f9aace6d1f48d5f5f (diff) | |
download | tor-71c0a13703e8d9453699fa578e527e6e859b674b.tar tor-71c0a13703e8d9453699fa578e527e6e859b674b.tar.gz |
r13110@catbus: nickm | 2007-05-31 15:03:24 -0400
Fix windows build.
svn:r10424
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index be8e19eee..62612b72c 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]; |