X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fwrapper%2Fuser_namespace.h;h=26d15c55d33d3c19dab5c3a9e6ff9a7e6325f276;hb=f0bfef4ee9cd4c250fd9386b786966c2f01b3ae0;hp=5e0ab5ace684cfb4af41fc6c7133c719b2616a2e;hpb=117ab60f69a98dcbc365de8008ab93e6699d153a;p=lttng-modules.git diff --git a/include/wrapper/user_namespace.h b/include/wrapper/user_namespace.h index 5e0ab5ac..26d15c55 100644 --- a/include/wrapper/user_namespace.h +++ b/include/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()))