X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-kernel-version.h;h=ec8cee0b30bc2a710f0629e14ceb89265ac0593d;hb=025f881d6a178f4b662b8487a0a7a203e58c3e7c;hp=8fad8b09c98b4b44b5e9fdacfbd6cc9548d00d20;hpb=3e5941df26200eccb6319ab765d53d00661e7c84;p=lttng-modules.git diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h index 8fad8b09..ec8cee0b 100644 --- a/lttng-kernel-version.h +++ b/lttng-kernel-version.h @@ -24,7 +24,12 @@ */ #include -#include + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) +#include +#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */ +#include +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */ /* * This macro checks if the kernel version is between the two specified