Index: libwzd-core/wzd_types.h =================================================================== --- libwzd-core/wzd_types.h (revision 1052) +++ libwzd-core/wzd_types.h (working copy) @@ -361,14 +361,14 @@ #define in6_addr in_addr6 /* funny ! */ #define socklen_t unsigned int +#endif /* WINVER */ #ifndef IN6_IS_ADDR_V4MAPPED #define IN6_IS_ADDR_V4MAPPED(a) \ ((((const ULONG *)(a))[0] == 0) \ && (((const ULONG *)(a))[1] == 0) \ && (((const ULONG *)(a))[2] == htonl (0xffff))) -#endif -#endif /* WINVER */ +#endif /* IN6_IS_ADDR_V4MAPPED */ #ifndef INADDR_NONE # define INADDR_NONE ((unsigned long int) 0xffffffff)