(INET{,6}_ADDRSTRLEN): add

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6578 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-07-26 10:13:24 +00:00
parent 7a48155735
commit 37822a1a18

View File

@@ -174,6 +174,18 @@ struct addrinfo {
#endif
/*
* constants for inet_ntop
*/
#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif
#ifndef INET6_ADDRSTRLEN
#define INET6_ADDRSTRLEN 46
#endif
#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)
#endif