lttng-module: sched.h: Fix compilation on 3.9 kernel
[lttng-modules.git] / instrumentation / events / lttng-module / sched.h
index ca46ed05cf7e4d4a52bff67b50fb1156e3e591f4..eb3446b26f5c33247b7440aeb0d054b2a714ca49 100644 (file)
@@ -6,6 +6,9 @@
 
 #include <linux/sched.h>
 #include <linux/tracepoint.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
+#include <linux/sched/rt.h>
+#endif
 
 #ifndef _TRACE_SCHED_DEF_
 #define _TRACE_SCHED_DEF_
This page took 0.022524 seconds and 4 git commands to generate.