Namespace kernel version macros
[lttng-modules.git] / include / wrapper / time.h
index 60ce78c9f32e65b83160a29d93ceee97089dae25..ad424dcf30c0b6f2f26028eb826e76b788538f72 100644 (file)
@@ -9,13 +9,13 @@
 #ifndef _LTTNG_WRAPPER_TIME_H
 #define _LTTNG_WRAPPER_TIME_H
 
-#include <linux/version.h>
+#include <lttng/kernel-version.h>
 
 /*
  * 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
 
This page took 0.023635 seconds and 4 git commands to generate.