X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Ftime.h;h=bec5f984d8da574126254ac52c7908307a4490b6;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=362f314ac75df0c10b6106f7f907b2cc3d61e6a6;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;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