X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fprobes%2Flttng-probe-compaction.c;h=ffaf45f025baf94aef37d8ef8186d00cdf90d5ef;hb=20ae85941b8ff6f04366177c6ab6aeda714fb9d8;hp=f8ddf384ed2aaccc3f70d4a4d44b479fa421c357;hpb=cfa6cc1d0f01c2cfcc1a679abf3a6572d411c309;p=lttng-modules.git diff --git a/src/probes/lttng-probe-compaction.c b/src/probes/lttng-probe-compaction.c index f8ddf384..ffaf45f0 100644 --- a/src/probes/lttng-probe-compaction.c +++ b/src/probes/lttng-probe-compaction.c @@ -10,6 +10,11 @@ #include #include +#include + +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0)) +#include "../mm/internal.h" +#endif /* * Create the tracepoint static inlines from the kernel to validate that our