The include/asm/uaccess.h compatibility header uses LINUX_VERSION_CODE
and KERNEL_VERSION, but doesn't #include <linux/version.h> 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 <abbotti@mev.co.uk>
#ifndef __COMPAT_ASM_UACCESS_H
#define __COMPAT_ASM_UACCESS_H
+#include <linux/version.h>
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)
/* unknown, approx 2.1.4 */