From c46534bf0cb4e01eb71bdbedb317c92c676258bf Mon Sep 17 00:00:00 2001 From: lars Date: Fri, 5 Feb 2010 00:38:22 +0000 Subject: [PATCH] Fix zaptel kernel module build for 2.6.32 --- libs/zaptel-1.4.x/patches/340-2.6.32.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libs/zaptel-1.4.x/patches/340-2.6.32.patch diff --git a/libs/zaptel-1.4.x/patches/340-2.6.32.patch b/libs/zaptel-1.4.x/patches/340-2.6.32.patch new file mode 100644 index 0000000..e9bf283 --- /dev/null +++ b/libs/zaptel-1.4.x/patches/340-2.6.32.patch @@ -0,0 +1,14 @@ +diff --git a/kernel/zaptel-base.c b/kernel/zaptel-base.c +index dbd6588..d4fc584 100644 +--- a/kernel/zaptel-base.c ++++ b/kernel/zaptel-base.c +@@ -60,6 +60,9 @@ + #include + #endif + #include ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32) ++#include ++#endif + + #ifndef CONFIG_OLD_HDLC_API + #define NEW_HDLC_INTERFACE -- 2.30.2