X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.c;h=9462877d558397c3d4224a41534a524b2ee6427f;hb=74b3b9d3c44075dbc72da8992d935db62b3cf3d6;hp=60f5623be66deba10b001e0064676322a60d23a1;hpb=ac7d62e6b5826dbec3fbc399531d52866ca490a0;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 60f5623b..9462877d 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -46,6 +46,12 @@ #include #include +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,16,0)) +#include +#else +#include +#endif + #define METADATA_CACHE_DEFAULT_SIZE 4096 static LIST_HEAD(sessions);