From d85682f2931c9c0f530b6eeb3ef676dc2b7d11f2 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 25 Aug 2005 23:58:39 +0000 Subject: [PATCH] Patch from abbotti@mev.co.uk (Ian Abbott): The include/linux/compiler.h file appeared in kernel 2.4.4, but disappeared in 2.4.5 and didn't reappear until 2.4.10! Comedi fails to build for kernel versions 2.4.5 through 2.4.9 inclusive for this reason. --- include/linux/compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 658110c5..2e0495e5 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -7,7 +7,8 @@ #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,4) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,10)) \ + || (LINUX_VERSION_CODE == KERNEL_VERSION(2,4,4)) #include_next -- 2.26.2