]> sourceware.org Git - systemtap.git/commitdiff
Fix PR19069 by conditionally including linux/user_namespace.h.
authorMartin Cermak <mcermak@redhat.com>
Tue, 6 Oct 2015 07:49:46 +0000 (09:49 +0200)
committerMartin Cermak <mcermak@redhat.com>
Tue, 6 Oct 2015 12:31:57 +0000 (14:31 +0200)
runtime/linux/runtime.h

index 6344384f6f35e8c1cfffcdd5c4de8060008c146b..5a4463dad2f0eb5e17d611ea2272a7e789001fa7 100644 (file)
@@ -44,6 +44,9 @@
 #include <generated/compile.h>
 #endif
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
+#include <linux/user_namespace.h>
+#endif
 
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
 #if !defined (CONFIG_DEBUG_FS)  && !defined (CONFIG_DEBUG_FS_MODULE)
This page took 0.029042 seconds and 5 git commands to generate.