From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Fri, 20 May 2011 12:50:53 -0400 Subject: Adjusted autoconf.h location for Linux 2.6.33 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linux 2.6.33 has moved linux/autoconf.h to generated/autoconf.h. Signed-off-by: Frédéric Brière Forwarded: yes --- sys/linux/cbm_module.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/linux/cbm_module.c b/sys/linux/cbm_module.c index d8c5a23..91ea8f3 100644 --- a/sys/linux/cbm_module.c +++ b/sys/linux/cbm_module.c @@ -22,12 +22,15 @@ static char *rcsid = "@(#) $Id: cbm_module.c,v 1.13.2.21 2009/12/13 20:40:32 strik Exp $"; #endif +#include + #ifdef KERNEL_INCLUDE_OLD_CONFIG_H #include -#else +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) #include +#else + #include #endif -#include #ifdef CONFIG_MODVERSIONS # if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,4) --