From: Simon Josefsson Date: Mon, 19 Jun 2006 12:28:18 +0000 (+0000) Subject: Revert slightly, from Bruno. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b9036221a0850c4d0698a20c34729453ef173e6;p=pspp Revert slightly, from Bruno. --- diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index 34574be072..8329c827db 100644 --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -76,8 +76,10 @@ inet_ntop (int af, const void *restrict src, { switch (af) { +#if HAVE_IPV4 case AF_INET: return (inet_ntop4 (src, dst, cnt)); +#endif #if HAVE_IPV6 case AF_INET6: