X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fsched.h;h=eb3446b26f5c33247b7440aeb0d054b2a714ca49;hb=947cb9afd2d36d00167484183c9a866274f92516;hp=ca46ed05cf7e4d4a52bff67b50fb1156e3e591f4;hpb=c2b0ef77652724c18eac5ff68d8dd6ce3ec2d85f;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index ca46ed05..eb3446b2 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -6,6 +6,9 @@ #include #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) +#include +#endif #ifndef _TRACE_SCHED_DEF_ #define _TRACE_SCHED_DEF_