X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Ftrace-clock.h;h=e3738263bd8442b0d901822d719271928a284113;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=fba3b9fe0e946b8a90e3a913aaca4ba7f06b26d3;hpb=585e5dcc4bf017c03b86dc84371f9c6170e12785;p=lttng-modules.git diff --git a/include/wrapper/trace-clock.h b/include/wrapper/trace-clock.h index fba3b9fe..e3738263 100644 --- a/include/wrapper/trace-clock.h +++ b/include/wrapper/trace-clock.h @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include @@ -51,7 +51,7 @@ extern struct lttng_trace_clock *lttng_trace_clock; * this feature on 64-bit architectures. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) \ +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,17,0) \ && BITS_PER_LONG == 64 \ && !defined(LTTNG_CLOCK_NMI_SAFE_BROKEN)) #define LTTNG_USE_NMI_SAFE_CLOCK