#ifndef _KTHREAD_H
#define _KTHREAD_H
-#include <linux/config.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
+ #include <linux/config.h>
+#endif
#include <linux/version.h>
#include <linux/kernel.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,40))
#include <linux/tqueue.h>
#define tasklet_struct tq_struct
-#else
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18))
#include <linux/devfs_fs_kernel.h>
#endif