From ff21d9d6b91c238c4552c77c5ae07ac689a9ad2e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 25 Sep 2000 01:24:37 +0000 Subject: [PATCH] Define INET{,6}_ADDRSTRLEN if needed --- include/ac/socket.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/ac/socket.h b/include/ac/socket.h index c7a1629490..e48dcb8f84 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -186,4 +186,11 @@ LDAP_F (int) ldap_pvt_inet_aton LDAP_P(( const char *, struct in_addr * )); # endif #endif +#ifndef INET_ADDRSTRLEN +# define INET_ADDRSTRLEN 16 +#endif +#ifndef INET6_ADDRSTRLEN +# define INET6_ADDRSTRLEN 46 +#endif + #endif /* _AC_SOCKET_H_ */ -- 2.39.5