X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Ftrace-clock.h;h=211c1e93ceaa9736e7b4cff8c438a20380cd0edb;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=187fc82b650d01a5d536724f92885c3bf24f9d47;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/wrapper/trace-clock.h b/wrapper/trace-clock.h index 187fc82b..211c1e93 100644 --- a/wrapper/trace-clock.h +++ b/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