X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fuser_namespace.h;h=daebbf2dddcd0dbdcde5e182518320d8ee49e174;hb=edee4485348d15198bc76a4fb4ae2d27e9872364;hp=851674b06759f91c680c320b8290248dd3df0a13;hpb=1965e6b461720f6e43ff77d71f1ea086d3da88d9;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()))