X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Kbuild.common;h=e2934e20f4880d94266a7f3d1ca39682abd56a8b;hb=c88f762e4c83e3ff148f8e7962d3d9c52d64ff4e;hp=c7cbd0b24aae7b376b45d53f2d7b0c09e5d953b8;hpb=6c27a5ccba05b088fbfcf8cd982c25649838298d;p=lttng-modules.git diff --git a/Kbuild.common b/Kbuild.common index c7cbd0b2..e2934e20 100644 --- a/Kbuild.common +++ b/Kbuild.common @@ -71,4 +71,9 @@ ifneq ($(CONFIG_DYNAMIC_FTRACE),) endif endif +mnt_ns_dep = $(srctree)/fs/mount.h +ifeq ($(wildcard $(mnt_ns_dep)),) + ccflags-y += -DLTTNG_MNT_NS_MISSING_HEADER +endif + # vim:syntax=make