X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lttng-kernel-version.h;fp=lttng-kernel-version.h;h=ec8cee0b30bc2a710f0629e14ceb89265ac0593d;hb=9f61c55f4c543e66737361ab1877cf77b07ac592;hp=e8353fd4724e1a86220dfd70d9be9d2dc7c91459;hpb=7b10d281eaed1cb8774b2b5f0c99e96b3bc4b0c7;p=deliverable%2Flttng-modules.git diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h index e8353fd4..ec8cee0b 100644 --- a/lttng-kernel-version.h +++ b/lttng-kernel-version.h @@ -24,7 +24,12 @@ */ #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