From: Yu Liao Date: Tue, 8 Oct 2024 02:33:32 +0000 (+0800) Subject: selftests: vDSO: Explicitly include sched.h X-Git-Tag: v6.12~83^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34d5b600172b846161e507bdce132c98d9cc9701;p=platform%2Fkernel%2Flinux-amlogic.git selftests: vDSO: Explicitly include sched.h The previous commit introduced the use of CLONE_NEWTIME without including which contains its definition. Add an explicit include of to ensure that CLONE_NEWTIME is correctly defined before it is used. Fixes: 2aec90036dcd ("selftests: vDSO: ensure vgetrandom works in a time namespace") Signed-off-by: Yu Liao Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/vDSO/vdso_test_getrandom.c b/tools/testing/selftests/vDSO/vdso_test_getrandom.c index da1210c4df02..95057f7567db 100644 --- a/tools/testing/selftests/vDSO/vdso_test_getrandom.c +++ b/tools/testing/selftests/vDSO/vdso_test_getrandom.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include