configure: Make FreeBSD recognize struct __res_state for iphlpapi.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e28f2f4908
commit
2f447bb49c
|
@ -16711,7 +16711,13 @@ _ACEOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
|
ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_RESOLV_H
|
||||||
#include <resolv.h>
|
#include <resolv.h>
|
||||||
#endif
|
#endif
|
||||||
"
|
"
|
||||||
|
|
|
@ -2347,7 +2347,13 @@ AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,,
|
||||||
|
|
||||||
dnl Check for struct __res_state
|
dnl Check for struct __res_state
|
||||||
AC_CHECK_TYPES([struct __res_state],,,
|
AC_CHECK_TYPES([struct __res_state],,,
|
||||||
[#ifdef HAVE_RESOLV_H
|
[#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_RESOLV_H
|
||||||
#include <resolv.h>
|
#include <resolv.h>
|
||||||
#endif])
|
#endif])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue