X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=wrapper%2Ftime.h;h=bec5f984d8da574126254ac52c7908307a4490b6;hb=refs%2Fheads%2Fstable-2.12;hp=362f314ac75df0c10b6106f7f907b2cc3d61e6a6;hpb=72dc372e70bc306d235c4eb4023d72a24f861d5d;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