Include <arpa/nameser.h> before <resolv.h>.
This commit is contained in:
parent
b83789fdc3
commit
ae8ca36b99
|
@ -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
|
||||||
|
|
|
@ -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,,,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue