diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp --- a/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp @@ -13,6 +13,10 @@ # define PR_SCHED_CORE_CREATE 1 #endif +#ifndef PR_SCHED_CORE_GET +# define PR_SCHED_CORE_GET 0 +#endif + int main() { int res;