From: Frank Mori Hess Date: Thu, 25 Aug 2005 23:58:39 +0000 (+0000) Subject: Patch from abbotti@mev.co.uk (Ian Abbott): X-Git-Tag: branch-0_7-end~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d85682f2931c9c0f530b6eeb3ef676dc2b7d11f2;p=comedi.git 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. --- 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