1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-30 22:09:48 +03:00

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
This commit is contained in:
hauke 2010-04-18 17:17:06 +00:00
parent 974ebff4db
commit e5c8c6677a

View File

@ -4,9 +4,13 @@
*
*/
#include <linux/autoconf.h>
#include <linux/module.h>
#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/sched.h>
#include <linux/kernel.h> /* printk() */
#include <linux/slab.h>