Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 * );
#endif
/* DNS RFC defines max host name as 255. New systems seem to use 1024 */
#ifndef NI_MAXHOST
#define NI_MAXHOST 256
#endif
#endif /* _AC_SOCKET_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment