From zaptel-commits at lists.digium.com Tue May 4 16:36:06 2010 From: zaptel-commits at lists.digium.com (SVN commits to the Zaptel project) Date: Tue, 04 May 2010 21:36:06 -0000 Subject: [zaptel-commits] qwell: branch 1.4 r4697 - /branches/1.4/kernel/wctc4xxp/base.c Message-ID: Author: qwell Date: Tue May 4 16:36:03 2010 New Revision: 4697 URL: http://svnview.digium.com/svn/zaptel?view=rev&rev=4697 Log: Fix inclusion of linux/io.h on 2.6.9 kernels. (from dahdi/linux/ r6549) Modified: branches/1.4/kernel/wctc4xxp/base.c Modified: branches/1.4/kernel/wctc4xxp/base.c URL: http://svnview.digium.com/svn/zaptel/branches/1.4/kernel/wctc4xxp/base.c?view=diff&rev=4697&r1=4696&r2=4697 ============================================================================== --- branches/1.4/kernel/wctc4xxp/base.c (original) +++ branches/1.4/kernel/wctc4xxp/base.c Tue May 4 16:36:03 2010 @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -41,6 +40,12 @@ #include #include "zaptel.h" + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18) +#include +#else +#include +#endif /* COMPILE TIME OPTIONS =================================================== */