[compiler-rt] 41d19fb - [test][sanitizer] Add `fork` include to the test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 12 22:22:17 PST 2023
Author: Vitaly Buka
Date: 2023-12-12T22:22:04-08:00
New Revision: 41d19fbef0f7f2ebdcb89965285401aac494cc68
URL: https://github.com/llvm/llvm-project/commit/41d19fbef0f7f2ebdcb89965285401aac494cc68
DIFF: https://github.com/llvm/llvm-project/commit/41d19fbef0f7f2ebdcb89965285401aac494cc68.diff
LOG: [test][sanitizer] Add `fork` include to the test
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
index 83de140196f919..ee9629adc1938c 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <unistd.h>
#include "sanitizer_common/sanitizer_specific.h"
More information about the llvm-commits
mailing list