X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fwrapper%2Ffile.h;h=1ffaf2e7ecf83ada756d248a535bd039eae56c1a;hb=fe72ab458dbaadc1e16be41c8160fc43166f6491;hp=b1799953b29b2f01cbf0b2a543369b7495eb08ec;hpb=117ab60f69a98dcbc365de8008ab93e6699d153a;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 */