From e5c8c6677a28db597c8ebbc65a57d06efef3d12d Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 18 Apr 2010 17:17:06 +0000 Subject: [PATCH] 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 --- package/siit/src/siit.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1