Author: Nick O'Connor Summary: Fixes musl compatibility ---- --- a/configure.ac.orig +++ b/configure.ac @@ -499,6 +499,9 @@ #include #endif]) + # if not defined, define NETDB_INTERNAL + AC_CHECK_DECL([NETDB_INTERNAL],,[AC_DEFINE([NETDB_INTERNAL], [-1], "define NETDB_INTERNAL")]) + # check if struct nss_XbyY_args has a returnlen attribute AC_CHECK_MEMBERS([struct nss_XbyY_args.returnlen],,, [[ #ifdef HAVE_NSS_H