From: hauke Date: Sun, 18 Apr 2010 17:17:06 +0000 (+0000) Subject: siit: fix build X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/e5c8c6677a28db597c8ebbc65a57d06efef3d12d 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 --- 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 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) +#include +#else #include +#endif #include -#include #include #include /* printk() */ #include