summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/siit/src/siit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/siit/src/siit.c b/package/siit/src/siit.c
index f458f5d..5362c1d 100644
--- a/package/siit/src/siit.c
+++ b/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>
+#endif
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/sched.h>
#include <linux/kernel.h> /* printk() */
#include <linux/slab.h>