X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fsched.h;h=25faad0e512914eb6f2d7093375c01ea0a4b263f;hb=090db00e2306c6ed56d0cdbc1273dca7dbfd9172;hp=e42acd23f23cd8761c8daa7a800cfab72a62ccfe;hpb=4dbf0908feb928be0092c86cd6f20539c39c6c9d;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index e42acd23..25faad0e 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -8,6 +8,9 @@ #include #include #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) +#include +#endif #ifndef _TRACE_SCHED_DEF_ #define _TRACE_SCHED_DEF_