X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Fcompiler.h;h=40a472d6d4ba6ae0bce647ee74de88ff479b5c3a;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=e0bd33f4ee860c52b5ba10a8eedcabb0eea3ae4e;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/wrapper/compiler.h b/include/wrapper/compiler.h index e0bd33f4..40a472d6 100644 --- a/include/wrapper/compiler.h +++ b/include/wrapper/compiler.h @@ -9,7 +9,7 @@ #define _LTTNG_WRAPPER_COMPILER_H #include -#include +#include /* * Don't allow compiling with buggy compiler. @@ -56,7 +56,7 @@ * and remove calls to smp_read_barrier_depends which was dropped * in v5.9. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,15,0)) #define LTTNG_READ_ONCE(x) READ_ONCE(x) #else #define LTTNG_READ_ONCE(x) \