mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-15 10:54:42 +00:00
Added CARES_INCLUDES_SYS_TYPES
This commit is contained in:
+19
-1
@@ -16,7 +16,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 28
|
# serial 29
|
||||||
|
|
||||||
|
|
||||||
dnl CARES_INCLUDES_ARPA_INET
|
dnl CARES_INCLUDES_ARPA_INET
|
||||||
@@ -187,6 +187,24 @@ cares_includes_sys_socket="\
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl CARES_INCLUDES_SYS_TYPES
|
||||||
|
dnl -------------------------------------------------
|
||||||
|
dnl Set up variable with list of headers that must be
|
||||||
|
dnl included when sys/types.h is to be included.
|
||||||
|
|
||||||
|
AC_DEFUN([CARES_INCLUDES_SYS_TYPES], [
|
||||||
|
cares_includes_sys_types="\
|
||||||
|
/* includes start */
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
/* includes end */"
|
||||||
|
AC_CHECK_HEADERS(
|
||||||
|
sys/types.h,
|
||||||
|
[], [], [$cares_includes_sys_types])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl CARES_INCLUDES_SYS_UIO
|
dnl CARES_INCLUDES_SYS_UIO
|
||||||
dnl -------------------------------------------------
|
dnl -------------------------------------------------
|
||||||
dnl Set up variable with list of headers that must be
|
dnl Set up variable with list of headers that must be
|
||||||
|
|||||||
Reference in New Issue
Block a user