From: Hauke Mehrtens Date: Sun, 18 Apr 2010 17:17:06 +0000 (+0000) Subject: siit: fix build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dbc43fab2c981c778e08841d86684830439994e1;p=openwrt%2Fstaging%2Fnbd.git siit: fix build Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/ SVN-Revision: 20993 --- 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 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) +#include +#else #include +#endif #include -#include #include #include /* printk() */ #include