X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-context-mnt-ns.c;h=c4bf5593fe9bd34ee8d1aab68ac2b2aa11c39a55;hb=20ae85941b8ff6f04366177c6ab6aeda714fb9d8;hp=cc41dc7d489380ca89c69c2bfa8e2047598bb5a7;hpb=93e5bcec1d8d550a1983bbc013248dbd83573cc7;p=lttng-modules.git 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