summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralkis <alkis@google.com>2017-06-02 07:51:56 -0700
committerVictor Costan <pwnall@chromium.org>2017-06-05 13:54:17 -0700
commit7dadceea528fcaf33af7f2cf8322d8789e4e9b1d (patch)
treedced8154e4c7cb4b02e60918a56ebf5478431ce0
parent83179dd8be390bb904882e34143d44551f475be0 (diff)
downloadsnappy-7dadceea528fcaf33af7f2cf8322d8789e4e9b1d.tar.gz
snappy-7dadceea528fcaf33af7f2cf8322d8789e4e9b1d.tar.bz2
snappy-7dadceea528fcaf33af7f2cf8322d8789e4e9b1d.zip
Check for the existence of sys/uio.h in autoconf build.
This lands https://github.com/google/snappy/pull/32
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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).