From bcc5b4842492b7e4263c8a2a3b80b32748f34ad9 Mon Sep 17 00:00:00 2001 From: Yichao 'Peak' Ji Date: Sun, 9 Apr 2017 13:04:05 +0800 Subject: [PATCH] Include sys/uio.h in check headers. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cffda8b..a5ff9a9 100644 --- a/configure.ac +++ b/configure.ac @@ -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/uio.h sys/mman.h sys/resource.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).