diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-18 17:17:06 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-18 17:17:06 +0000 |
commit | e5c8c6677a28db597c8ebbc65a57d06efef3d12d (patch) | |
tree | 88768360bb57e4ec41d742b0c08d6c609ffa47d3 /package | |
parent | 974ebff4db6a133a3494acebc33d777352c42974 (diff) |
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')
-rw-r--r-- | package/siit/src/siit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/siit/src/siit.c b/package/siit/src/siit.c index f458f5de4..5362c1daa 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> |