Include <arpa/nameser.h> before <resolv.h>.

This commit is contained in:
Pierre d'Herbemont 2003-10-27 21:55:00 +00:00 committed by Alexandre Julliard
parent b83789fdc3
commit ae8ca36b99
3 changed files with 9 additions and 0 deletions

3
configure vendored
View File

@ -14014,6 +14014,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#if HAVE_NETINET_IN_H #if HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#if HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
#include <$ac_header> #include <$ac_header>
_ACEOF _ACEOF

View File

@ -1093,6 +1093,9 @@ AC_CHECK_HEADERS([resolv.h],,,
#endif #endif
#if HAVE_NETINET_IN_H #if HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
#endif
#if HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif]) #endif])
AC_CHECK_HEADERS(netinet/ip.h,,, AC_CHECK_HEADERS(netinet/ip.h,,,

View File

@ -48,6 +48,9 @@ struct _pthread_cleanup_buffer;
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#ifdef HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
#ifdef HAVE_RESOLV_H #ifdef HAVE_RESOLV_H
# include <resolv.h> # include <resolv.h>
#endif #endif