From 252bd2c93858654d6af5ebca0ed6704f1c14401a Mon Sep 17 00:00:00 2001 From: kpfleming Date: Wed, 20 Aug 2008 21:16:40 +0000 Subject: improve compatibility with 2.6.26 and 2.6.27 kernels (closes issue #13277) Reported by: smurfix Patches: zap-dev.patch uploaded by smurfix (license 547) zap-sema.patch uploaded by smurfix (license 547) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4496 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- kernel/xpp/xpd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kernel/xpp') diff --git a/kernel/xpp/xpd.h b/kernel/xpp/xpd.h index e556ef0..35688d6 100644 --- a/kernel/xpp/xpd.h +++ b/kernel/xpp/xpd.h @@ -29,8 +29,13 @@ #ifdef __KERNEL__ #include #include +#include #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) +#include +#else #include +#endif #include #ifdef XPP_DEBUGFS #ifndef CONFIG_DEBUG_FS -- cgit v1.2.3