From bb976694aaafadec6a55a8646da4d7fcc5c74dbe Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 30 Nov 2017 09:22:12 +0000 Subject: Linux needs to include sys/uio.h for readv, preadv ...at least when building against glibc-2.26-16.fc27.x86_64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319412 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/msan/tests/msan_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/msan/tests/msan_test.cc b/lib/msan/tests/msan_test.cc index b2d5f7c60..212e0ee3e 100644 --- a/lib/msan/tests/msan_test.cc +++ b/lib/msan/tests/msan_test.cc @@ -71,6 +71,9 @@ int shmdt(const void *); # include # include # include +# if defined(__linux__) +# include +# endif #else # include # include -- cgit v1.2.3