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

12 lines
301 B
Diff
Raw Normal View History

--- a/kernel/zconfig.h
+++ b/kernel/zconfig.h
@@ -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