[compiler-rt] 0d59efb - [sanitizer] Fix test include on Darwin
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 1 16:49:59 PDT 2021
Author: Vitaly Buka
Date: 2021-11-01T16:49:50-07:00
New Revision: 0d59efbba4e99140ef2dfb5c9f14a9d641e0ebe2
URL: https://github.com/llvm/llvm-project/commit/0d59efbba4e99140ef2dfb5c9f14a9d641e0ebe2
DIFF: https://github.com/llvm/llvm-project/commit/0d59efbba4e99140ef2dfb5c9f14a9d641e0ebe2.diff
LOG: [sanitizer] Fix test include on Darwin
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c b/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
index c8b9606dcb7b..358d3b481023 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/posix_spawn.c
@@ -6,7 +6,7 @@
#include <assert.h>
#include <spawn.h>
#include <stdio.h>
-#include <wait.h>
+#include <sys/wait.h>
int main(int argc, char **argv) {
if (argc > 1) {
More information about the llvm-commits
mailing list