+--- a/dosfsck/dosfsck.h
++++ b/dosfsck/dosfsck.h
+@@ -15,13 +15,7 @@
+ #define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
+
+ #include <linux/version.h>
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+-# define __KERNEL__
+-# include <asm/types.h>
+-# include <asm/byteorder.h>
+-# undef __KERNEL__
+-#endif
+-
++#include <linux/types.h>
+ #include <linux/msdos_fs.h>
+
+ #undef CF_LE_W