X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fuser_namespace.h;h=daebbf2dddcd0dbdcde5e182518320d8ee49e174;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=851674b06759f91c680c320b8290248dd3df0a13;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/wrapper/user_namespace.h b/wrapper/user_namespace.h index 851674b0..daebbf2d 100644 --- a/wrapper/user_namespace.h +++ b/wrapper/user_namespace.h @@ -9,11 +9,11 @@ #ifndef _LTTNG_WRAPPER_USER_NAMESPACE_H #define _LTTNG_WRAPPER_USER_NAMESPACE_H -#include +#include #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0) +#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3, 5, 0) #define lttng_current_xxuid(xxx) \ (from_kuid_munged(&init_user_ns, current_##xxx()))