Define INET{,6}_ADDRSTRLEN if needed

This commit is contained in:
Kurt Zeilenga 2000-09-25 01:24:37 +00:00
parent 0828a93cdf
commit ff21d9d6b9

View file

@ -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_ */