lttng-module: sched.h: Fix compilation on 3.9 kernel
[lttng-modules.git] / instrumentation / events / lttng-module / sched.h
index e42acd23f23cd8761c8daa7a800cfab72a62ccfe..25faad0e512914eb6f2d7093375c01ea0a4b263f 100644 (file)
@@ -8,6 +8,9 @@
 #include <linux/tracepoint.h>
 #include <linux/binfmts.h>
 #include <linux/version.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.024319 seconds and 4 git commands to generate.