Check for the existence of sys/uio.h in autoconf build.

This lands https://github.com/google/snappy/pull/32
This commit is contained in:
alkis 2017-06-02 07:51:56 -07:00 committed by Victor Costan
parent 83179dd8be
commit 7dadceea52
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ AC_LANG([C++])
AC_C_BIGENDIAN
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_CHECK_HEADERS([stdint.h stddef.h sys/mman.h sys/resource.h windows.h byteswap.h sys/byteswap.h sys/endian.h sys/time.h])
AC_CHECK_HEADERS([stdint.h stddef.h sys/mman.h sys/resource.h sys/uio.h windows.h byteswap.h sys/byteswap.h sys/endian.h sys/time.h])
# Don't use AC_FUNC_MMAP, as it checks for mappings of already-mapped memory,
# which we don't need (and does not exist on Windows).