diff --git a/configure b/configure index edeae83d1260dfe808efd89f6cb69dc208dfbb67..118ff416797dc43644febed3d8eac3b83b65f8e7 100755 --- a/configure +++ b/configure @@ -14014,6 +14014,9 @@ cat >>conftest.$ac_ext <<_ACEOF #if HAVE_NETINET_IN_H # include <netinet/in.h> #endif + #if HAVE_ARPA_NAMESER_H + # include <arpa/nameser.h> + #endif #include <$ac_header> _ACEOF diff --git a/configure.ac b/configure.ac index 289b3f7509c48c1fd05d38f075441a7cb9873961..2312127ba64cbb10a1fd0ec9b8a60ef3a060b9fd 100644 --- a/configure.ac +++ b/configure.ac @@ -1093,6 +1093,9 @@ AC_CHECK_HEADERS([resolv.h],,, #endif #if HAVE_NETINET_IN_H # include <netinet/in.h> + #endif + #if HAVE_ARPA_NAMESER_H + # include <arpa/nameser.h> #endif]) AC_CHECK_HEADERS(netinet/ip.h,,, diff --git a/scheduler/pthread.c b/scheduler/pthread.c index 1191b35a05bd90a9b82b526d3cf1123fdc2db51b..ab4a3efba95fbc75ef3e8ad12898ed28958ef111 100644 --- a/scheduler/pthread.c +++ b/scheduler/pthread.c @@ -48,6 +48,9 @@ struct _pthread_cleanup_buffer; #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> #endif +#ifdef HAVE_ARPA_NAMESER_H +# include <arpa/nameser.h> +#endif #ifdef HAVE_RESOLV_H # include <resolv.h> #endif