From: Ingo Molnar Date: Thu, 23 Sep 2021 18:42:44 +0000 (+0200) Subject: sched/headers: Fix header to build standalone: X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d0b9d6dcaa5ac480c272683919f387cc6d82b638;p=linux.git sched/headers: Fix header to build standalone: Uses various kernel types that don't build standalone. Signed-off-by: Ingo Molnar Reviewed-by: Peter Zijlstra --- diff --git a/include/linux/sched_clock.h b/include/linux/sched_clock.h index 835ee87ed7922..cb41c5edb4d49 100644 --- a/include/linux/sched_clock.h +++ b/include/linux/sched_clock.h @@ -5,6 +5,8 @@ #ifndef LINUX_SCHED_CLOCK #define LINUX_SCHED_CLOCK +#include + #ifdef CONFIG_GENERIC_SCHED_CLOCK /** * struct clock_read_data - data required to read from sched_clock()