From: Martin Cermak Date: Tue, 6 Oct 2015 07:49:46 +0000 (+0200) Subject: Fix PR19069 by conditionally including linux/user_namespace.h. X-Git-Tag: release-2.9~19 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f84a1d0022f1e19bf865ff5f5e688334ca6d2186;p=systemtap.git Fix PR19069 by conditionally including linux/user_namespace.h. --- diff --git a/runtime/linux/runtime.h b/runtime/linux/runtime.h index 6344384f6..5a4463dad 100644 --- a/runtime/linux/runtime.h +++ b/runtime/linux/runtime.h @@ -44,6 +44,9 @@ #include #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) +#include +#endif #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #if !defined (CONFIG_DEBUG_FS) && !defined (CONFIG_DEBUG_FS_MODULE)