packages/libs/zaptel-1.4.x/patches/340-2.6.32.patch
mb 9ed84c6a9a zaptel-1.4: Compilefixes for 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 17:07:46 +00:00

17 lines
379 B
Diff

---
kernel/zaptel-base.c | 3 +++
1 file changed, 3 insertions(+)
--- zaptel-1.4.12.1.orig/kernel/zaptel-base.c
+++ zaptel-1.4.12.1/kernel/zaptel-base.c
@@ -59,6 +59,9 @@
#include <linux/if_ppp.h>
#endif
#include <asm/atomic.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)
+#include <linux/sched.h>
+#endif
#ifndef CONFIG_OLD_HDLC_API
#define NEW_HDLC_INTERFACE