]> git.sur5r.net Git - openldap/commitdiff
Define INET{,6}_ADDRSTRLEN if needed
authorKurt Zeilenga <kurt@openldap.org>
Mon, 25 Sep 2000 01:24:37 +0000 (01:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 25 Sep 2000 01:24:37 +0000 (01:24 +0000)
include/ac/socket.h

index c7a1629490d0c62567bb5eb1943165772e42057e..e48dcb8f8454376043e299357477ff0ce1b98e00 100644 (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_ */