1 diff -urN dosfstools-2.11/dosfsck/common.h dosfstools-2.11.new/dosfsck/common.h
2 --- dosfstools-2.11/dosfsck/common.h 2004-02-25 10:07:01.000000000 +0100
3 +++ dosfstools-2.11.new/dosfsck/common.h 2006-12-09 16:45:12.000000000 +0100
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
9 -# include <asm/types.h>
11 +#include <linux/types.h>
12 # define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */
15 diff -urN dosfstools-2.11/dosfsck/file.c dosfstools-2.11.new/dosfsck/file.c
16 --- dosfstools-2.11/dosfsck/file.c 2004-02-25 10:07:38.000000000 +0100
17 +++ dosfstools-2.11.new/dosfsck/file.c 2006-12-09 16:45:22.000000000 +0100
20 #include <linux/version.h>
21 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
23 -# include <asm/types.h>
25 +#include <linux/types.h>
28 #include <linux/msdos_fs.h>
29 diff -urN dosfstools-2.11/dosfsck/io.c dosfstools-2.11.new/dosfsck/io.c
30 --- dosfstools-2.11/dosfsck/io.c 2005-03-12 16:33:58.000000000 +0100
31 +++ dosfstools-2.11.new/dosfsck/io.c 2006-12-09 16:48:43.000000000 +0100
33 #include <sys/ioctl.h>
36 +#include <linux/version.h>
37 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
38 +#include <linux/types.h>
43 diff -urN dosfstools-2.11/mkdosfs/mkdosfs.c dosfstools-2.11.new/mkdosfs/mkdosfs.c
44 --- dosfstools-2.11/mkdosfs/mkdosfs.c 2005-03-12 17:12:16.000000000 +0100
45 +++ dosfstools-2.11.new/mkdosfs/mkdosfs.c 2006-12-09 16:44:57.000000000 +0100
48 #include <linux/version.h>
49 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
51 -# include <asm/types.h>
53 +#include <linux/types.h>
56 #if __BYTE_ORDER == __BIG_ENDIAN