X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Ftime.h;h=bec5f984d8da574126254ac52c7908307a4490b6;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=362f314ac75df0c10b6106f7f907b2cc3d61e6a6;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/wrapper/time.h b/wrapper/time.h index 362f314a..bec5f984 100644 --- a/wrapper/time.h +++ b/wrapper/time.h @@ -9,13 +9,13 @@ #ifndef _LTTNG_WRAPPER_TIME_H #define _LTTNG_WRAPPER_TIME_H -#include +#include /* * Use 64bit timespec on kernels that have it, this makes 32bit arch * y2038 compliant. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,17,0)) # define LTTNG_KERNEL_HAS_TIMESPEC64 #endif