X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-events.c;h=4ddf4a77774a89d22ff74bdf5f3e7dd96e0c93c8;hb=5987e66c2cba50425d775ce587dd763244373e16;hp=2b4b1039803222cf0e383ad943c6dc991cc1dcb1;hpb=5677d2e56fc19177a2f5de4cf13a75b14ca2ed0a;p=lttng-modules.git diff --git a/src/lttng-events.c b/src/lttng-events.c index 2b4b1039..4ddf4a77 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -49,6 +49,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);