summaryrefslogtreecommitdiff
path: root/package/siit
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-04-18 17:17:06 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-04-18 17:17:06 +0000
commitdbc43fab2c981c778e08841d86684830439994e1 (patch)
treee002c305f54b81a6b06385613895963bce2e6300 /package/siit
parentc4079adad8518d2ca5fc291893f29bad24f92bf4 (diff)
downloadmtk-20170518-dbc43fab2c981c778e08841d86684830439994e1.zip
mtk-20170518-dbc43fab2c981c778e08841d86684830439994e1.tar.gz
mtk-20170518-dbc43fab2c981c778e08841d86684830439994e1.tar.bz2
siit: fix build
Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/ SVN-Revision: 20993
Diffstat (limited to 'package/siit')
-rw-r--r--package/siit/src/siit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/siit/src/siit.c b/package/siit/src/siit.c
index f458f5d..5362c1d 100644
--- a/package/siit/src/siit.c
+++ b/package/siit/src/siit.c
@@ -4,9 +4,13 @@
*
*/
+#include <linux/version.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
+#include <generated/autoconf.h>
+#else
#include <linux/autoconf.h>
+#endif
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/sched.h>
#include <linux/kernel.h> /* printk() */
#include <linux/slab.h>