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
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
#if HAVE_ARPA_NAMESER_H
|
||||
# include <arpa/nameser.h>
|
||||
#endif
|
||||
|
||||
#include <$ac_header>
|
||||
_ACEOF
|
||||
|
|
|
@ -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,,,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue