X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.c;h=9462877d558397c3d4224a41534a524b2ee6427f;hb=6423140ffcb1c5b005199bb2fa34621361ad538d;hp=60f5623be66deba10b001e0064676322a60d23a1;hpb=1d00109f7168cd30f3a2de6173d1e2ec36372ba9;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);