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 @@ -5,6 +5,14 @@ #include #include +#ifndef PR_SCHED_CORE +# define PR_SCHED_CORE 62 +#endif + +#ifndef PR_SCHED_CORE_CREATE +# define PR_SCHED_CORE_CREATE 1 +#endif + int main() { int res;