(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:
@@ -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
|
||||
|
Reference in New Issue
Block a user