From 74707e8e8e1be2cbaa71fb0442957be2e663cbde Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 14 Apr 2009 12:45:48 +0200 Subject: socket_wrapper: fix the build on systems without ipv6 support metze --- lib/socket_wrapper/socket_wrapper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/socket_wrapper') diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c index d3853de50d..d809d8a500 100644 --- a/lib/socket_wrapper/socket_wrapper.c +++ b/lib/socket_wrapper/socket_wrapper.c @@ -1102,8 +1102,10 @@ static uint8_t *swrap_marshall_packet(struct socket_info *si, switch (si->family) { case AF_INET: break; +#ifdef HAVE_IPV6 case AF_INET6: break; +#endif default: return NULL; } -- cgit