packages/libs/zaptel-1.4.x/patches/350-2.6.34.patch

15 lines
515 B
Diff
Raw Normal View History

Index: zaptel-1.4.12.1/kernel/zconfig.h
===================================================================
--- zaptel-1.4.12.1.orig/kernel/zconfig.h 2010-06-13 08:51:02.000000000 +0200
+++ zaptel-1.4.12.1/kernel/zconfig.h 2010-06-13 08:53:22.000000000 +0200
@@ -22,6 +22,8 @@
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33))
+#include <generated/autoconf.h>
#else
#include <linux/autoconf.h>
#endif