From 10087fe1fa3e4aa4b6722a1d27a47853ebdf47c8 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Sun, 3 Mar 2013 23:42:32 -0500 Subject: Linux 3.9 compat: Include linux/sched/rt.h Linux 3.9 reorganized sched.h, splitting it into numerous files. torvalds/linux@8bd75c77b7c6a3954140dd2e20346aef3efe4a35 moved MAX_PRIO and MAX_RT_PRIO to linux/sched/rt.h. Signed-off-by: Richard Yao Signed-off-by: Brian Behlendorf --- include/sys/sysmacros.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/sys/sysmacros.h') diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index 7c4da67fc..b4778b70e 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -26,12 +26,17 @@ #define _SPL_SYSMACROS_H #include +#include #include #include #include #include #include +#ifdef HAVE_SCHED_RT_HEADER +#include +#endif + #ifndef _KERNEL #define _KERNEL __KERNEL__ #endif -- cgit v1.2.3