Index: compiler-rt/trunk/lib/msan/tests/msan_test.cc =================================================================== --- compiler-rt/trunk/lib/msan/tests/msan_test.cc +++ compiler-rt/trunk/lib/msan/tests/msan_test.cc @@ -27,7 +27,6 @@ #include #include #include -#include #include #include @@ -43,20 +42,26 @@ #include #include #include -#include #include #include -#include #include #include #include #include #include -#include -#include #include #include +#if !defined(__FreeBSD__) +# include +# include +# include +# include +# include +#else +# include +#endif + #if defined(__i386__) || defined(__x86_64__) # include # define MSAN_HAS_M128 1 @@ -973,7 +978,6 @@ ASSERT_EQ(0, res); ASSERT_EQ(sizeof(client_sai), sz); - const char *s = "message text"; struct iovec iov; iov.iov_base = (void *)s;