X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Fnamespace.h;h=97eb235c9ab8eb07a6fdde41f0e453d9b64ffecd;hb=0def91708e136463a7e19e322932844e596a02db;hp=8e8a37123c82637321c296b16dc0157338f77f70;hpb=117ab60f69a98dcbc365de8008ab93e6699d153a;p=lttng-modules.git diff --git a/include/wrapper/namespace.h b/include/wrapper/namespace.h index 8e8a3712..97eb235c 100644 --- a/include/wrapper/namespace.h +++ b/include/wrapper/namespace.h @@ -10,15 +10,15 @@ #ifndef _LTTNG_WRAPPER_NAMESPACE_H #define _LTTNG_WRAPPER_NAMESPACE_H -#include +#include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0)) #define lttng_ns_inum ns.inum #else #define lttng_ns_inum proc_inum #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0)) #define lttng_user_ns_parent parent #else #define lttng_user_ns_parent creator->user_ns