mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
siit: fix build
Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/ SVN-Revision: 20993
This commit is contained in:
parent
c4079adad8
commit
dbc43fab2c
@ -4,9 +4,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/autoconf.h>
|
|
||||||
#include <linux/module.h>
|
|
||||||
#include <linux/version.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/sched.h>
|
||||||
#include <linux/kernel.h> /* printk() */
|
#include <linux/kernel.h> /* printk() */
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user