X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-kernel-version.h;h=ec8cee0b30bc2a710f0629e14ceb89265ac0593d;hb=c62ab2ad50ae17ddeff53fffc3cd2e8b6b24c2e6;hp=53a6a363a2c3052df45d32abe45118709ed286bf;hpb=c14647697d1dc878e65caf5ec43c889cbe9ebebd;p=lttng-modules.git diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h index 53a6a363..ec8cee0b 100644 --- a/lttng-kernel-version.h +++ b/lttng-kernel-version.h @@ -24,8 +24,12 @@ */ #include -#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