]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/kthread.c
The first round of I/O space pointers separation.
[lincan.git] / lincan / src / kthread.c
index cce9ff53bf993d1632e2f60112294f37485f094e..e8e94c47185a3f4bc6a85a64e01edc05fd8b618d 100644 (file)
@@ -1,5 +1,7 @@
-#include <linux/config.h>
 #include <linux/version.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17))
+#include <linux/config.h>
+#endif
 
 #if defined(MODVERSIONS)
 #include <linux/modversions.h>
@@ -10,7 +12,9 @@
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,40))
   #include <linux/tqueue.h>
 #else
-  #include <linux/devfs_fs_kernel.h>
+  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17))
+    #include <linux/devfs_fs_kernel.h>
+  #endif
 #endif
 
 #include <linux/wait.h>