# HG changeset patch # User Simon Josefsson # Date 1150720098 0 # Node ID b2c0fe3ad032a1dc0bc51c8ef5fb9fa72af6b3b2 # Parent 9c31f76c1acd63a0a81a3122b25d8798074b3f9f Revert slightly, from Bruno. diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -76,8 +76,10 @@ { switch (af) { +#if HAVE_IPV4 case AF_INET: return (inet_ntop4 (src, dst, cnt)); +#endif #if HAVE_IPV6 case AF_INET6: