aboutsummaryrefslogtreecommitdiffstats
path: root/package/siit
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2010-04-18 17:17:06 +0000
committerHauke Mehrtens <hauke@openwrt.org>2010-04-18 17:17:06 +0000
commitca4e705ff963811868f8c3effde9bbbc56fe7db0 (patch)
tree88768360bb57e4ec41d742b0c08d6c609ffa47d3 /package/siit
parent70dbf9a7eac7f560a365a638a2543fe3fe77ae7c (diff)
downloadupstream-ca4e705ff963811868f8c3effde9bbbc56fe7db0.tar.gz
upstream-ca4e705ff963811868f8c3effde9bbbc56fe7db0.tar.bz2
upstream-ca4e705ff963811868f8c3effde9bbbc56fe7db0.zip
siit: fix build
Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20993 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 f458f5de4b..5362c1daae 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>