X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=src%2Flttng-context-mnt-ns.c;h=c4bf5593fe9bd34ee8d1aab68ac2b2aa11c39a55;hp=cc41dc7d489380ca89c69c2bfa8e2047598bb5a7;hb=455d6bcc7c93a75c555c340fd8ab6c00edf68551;hpb=0e5e973df58d4ff9655f0b70760673533163f3c1 diff --git a/src/lttng-context-mnt-ns.c b/src/lttng-context-mnt-ns.c index cc41dc7d..c4bf5593 100644 --- a/src/lttng-context-mnt-ns.c +++ b/src/lttng-context-mnt-ns.c @@ -9,6 +9,8 @@ * */ +#ifndef LTTNG_MNT_NS_MISSING_HEADER + #include #include #include @@ -19,9 +21,6 @@ #include #include -#if !defined(LTTNG_MNT_NS_MISSING_HEADER) && \ - (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) - #include <../fs/mount.h> static