# define INET6_ADDRSTRLEN 46
#endif
+#ifdef HAVE_GETADDRINFO
+# ifdef HAVE_GAI_STRERROR
+# define AC_GAI_STRERROR(x) (gai_strerror((x)))
+# else
+# define AC_GAI_STRERROR(x) (ldap_pvt_gai_strerror((x)))
+ char * ldap_pvt_gai_strerror( int );
+# endif
+#endif
+
#endif /* _AC_SOCKET_H_ */
/* Define if you have the flock function. */
#undef HAVE_FLOCK
+/* Define if you have the gai_strerror function. */
+#undef HAVE_GAI_STRERROR
+
/* Define if you have the getaddrinfo function. */
#undef HAVE_GETADDRINFO