Commit ac04ec0c authored by Howard Chu's avatar Howard Chu
Browse files

Add NI_MAXHOST if not defined; normally in <netdb.h> on IPv6 systems

parent 9f5d4458
......@@ -205,4 +205,9 @@ LDAP_F (int) ldap_pvt_inet_aton LDAP_P(( const char *, struct in_addr * ));
LDAP_LUTIL_F( int ) getpeereid( int s, uid_t *, gid_t * );
/* DNS RFC defines max host name as 255. New systems seem to use 1024 */
#ifndef NI_MAXHOST
#define NI_MAXHOST 256
#endif /* _AC_SOCKET_H_ */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment