From 7dadceea528fcaf33af7f2cf8322d8789e4e9b1d Mon Sep 17 00:00:00 2001 From: alkis Date: Fri, 2 Jun 2017 07:51:56 -0700 Subject: [PATCH] Check for the existence of sys/uio.h in autoconf build. This lands https://github.com/google/snappy/pull/32 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0fea21c..91f5447 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/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).