diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index b35c97169d..733272e571 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -743,7 +743,7 @@ static Listener * slap_open_listener( case AF_INET: { char *s; -#if defined( HAVE_GETADDRINFO ) && defined( INET_NTOP ) +#if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP ) char addr[INET_ADDRSTRLEN]; inet_ntop( AF_INET, &((struct sockaddr_in *)*sal)->sin_addr, addr, sizeof(addr) );