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:
Hauke Mehrtens 2010-04-18 17:17:06 +00:00
parent c4079adad8
commit dbc43fab2c

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>