siit: fix build

Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/

SVN-Revision: 20993
master
Hauke Mehrtens 15 years ago
parent c4079adad8
commit dbc43fab2c
  1. 6
      package/siit/src/siit.c

@ -4,9 +4,13 @@
* *
*/ */
#include <linux/version.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
#include <generated/autoconf.h>
#else
#include <linux/autoconf.h> #include <linux/autoconf.h>
#endif
#include <linux/module.h> #include <linux/module.h>
#include <linux/version.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…
Cancel
Save