X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Ffile.h;h=1ffaf2e7ecf83ada756d248a535bd039eae56c1a;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=b1799953b29b2f01cbf0b2a543369b7495eb08ec;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/wrapper/file.h b/include/wrapper/file.h index b1799953..1ffaf2e7 100644 --- a/include/wrapper/file.h +++ b/include/wrapper/file.h @@ -10,10 +10,10 @@ #ifndef _LTTNG_WRAPPER_FILE_H #define _LTTNG_WRAPPER_FILE_H -#include +#include #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) +#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) static inline int lttng_get_unused_fd(void) @@ -23,7 +23,7 @@ inline int lttng_get_unused_fd(void) #define lttng_f_dentry f_path.dentry -#else /* #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */ +#else /* #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) */ static inline int lttng_get_unused_fd(void) @@ -33,6 +33,6 @@ inline int lttng_get_unused_fd(void) #define lttng_f_dentry f_dentry -#endif /* #else #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */ +#endif /* #else #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) */ #endif /* _LTTNG_WRAPPER_FILE_H */