From ae8ca36b990f8a8ab1ec3e4f42ffc3a8be2f393b Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 27 Oct 2003 21:55:00 +0000 Subject: [PATCH] Include before . --- configure | 3 +++ configure.ac | 3 +++ scheduler/pthread.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/configure b/configure index edeae83d126..118ff416797 100755 --- a/configure +++ b/configure @@ -14014,6 +14014,9 @@ cat >>conftest.$ac_ext <<_ACEOF #if HAVE_NETINET_IN_H # include #endif + #if HAVE_ARPA_NAMESER_H + # include + #endif #include <$ac_header> _ACEOF diff --git a/configure.ac b/configure.ac index 289b3f7509c..2312127ba64 100644 --- a/configure.ac +++ b/configure.ac @@ -1093,6 +1093,9 @@ AC_CHECK_HEADERS([resolv.h],,, #endif #if HAVE_NETINET_IN_H # include + #endif + #if HAVE_ARPA_NAMESER_H + # include #endif]) AC_CHECK_HEADERS(netinet/ip.h,,, diff --git a/scheduler/pthread.c b/scheduler/pthread.c index 1191b35a05b..ab4a3efba95 100644 --- a/scheduler/pthread.c +++ b/scheduler/pthread.c @@ -48,6 +48,9 @@ struct _pthread_cleanup_buffer; #ifdef HAVE_NETINET_IN_H # include #endif +#ifdef HAVE_ARPA_NAMESER_H +# include +#endif #ifdef HAVE_RESOLV_H # include #endif