diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2010-04-18 17:17:06 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2010-04-18 17:17:06 +0000 |
commit | dbc43fab2c981c778e08841d86684830439994e1 (patch) | |
tree | e002c305f54b81a6b06385613895963bce2e6300 /package/siit/src/siit.c | |
parent | c4079adad8518d2ca5fc291893f29bad24f92bf4 (diff) | |
download | upstream-dbc43fab2c981c778e08841d86684830439994e1.tar.gz upstream-dbc43fab2c981c778e08841d86684830439994e1.tar.bz2 upstream-dbc43fab2c981c778e08841d86684830439994e1.zip |
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/src/siit.c')
-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 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> |