Index: lib/msan/tests/msan_test.cc =================================================================== --- lib/msan/tests/msan_test.cc +++ lib/msan/tests/msan_test.cc @@ -780,6 +780,8 @@ close(pipefd[1]); } +// There is no ppoll() on FreeBSD. +#if !defined (__FreeBSD__) TEST(MemorySanitizer, ppoll) { int* pipefd = new int[2]; int res = pipe(pipefd); @@ -804,6 +806,7 @@ close(pipefd[0]); close(pipefd[1]); } +#endif TEST(MemorySanitizer, poll_positive) { int* pipefd = new int[2];