From: Ian Abbott Date: Thu, 3 Mar 2011 15:47:44 +0000 (+0000) Subject: Add #include to include/asm/uaccess.h X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5198472edb78da7ddc5e1fffd6d35fd7ae76a948;p=comedi.git Add #include to include/asm/uaccess.h The include/asm/uaccess.h compatibility header uses LINUX_VERSION_CODE and KERNEL_VERSION, but doesn't #include to define those macros. This caused a build failure for at least one person. Perhaps we should just remove the file though, as it's only needed for really ancient kernels (before 2.2.0) that we no longer support. Signed-off-by: Ian Abbott --- diff --git a/include/asm/uaccess.h b/include/asm/uaccess.h index 3d9190fe..5e9e48b0 100644 --- a/include/asm/uaccess.h +++ b/include/asm/uaccess.h @@ -2,6 +2,8 @@ #ifndef __COMPAT_ASM_UACCESS_H #define __COMPAT_ASM_UACCESS_H +#include + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0) /* unknown, approx 2.1.4 */