X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fblock.h;h=882e6e085fafe45768884d51d8986755f93b095c;hp=050a59a248f9e91fdaa5c3ca5cde76e8e836df2d;hb=e8d2f286b5b208ac8870d0a9c167b170e96169b3;hpb=3c46ddc134621dba65030263aa321dd6bdae3ba3 diff --git a/include/instrumentation/events/block.h b/include/instrumentation/events/block.h index 050a59a2..882e6e08 100644 --- a/include/instrumentation/events/block.h +++ b/include/instrumentation/events/block.h @@ -11,9 +11,9 @@ #include #include -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,11,0)) +#if LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) #include -#endif /* (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,11,0)) */ +#endif /* LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) */ #ifndef _TRACE_BLOCK_DEF_ #define _TRACE_BLOCK_DEF_