diff --git a/dosfsck/common.h b/dosfsck/common.h index 0586e07..de0fb3e 100644 --- a/dosfsck/common.h +++ b/dosfsck/common.h @@ -2,13 +2,8 @@ /* Written 1993 by Werner Almesberger */ -#include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -# define __KERNEL__ # include -# undef __KERNEL__ # define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */ -#endif #ifndef _COMMON_H #define _COMMON_H diff --git a/dosfsck/dosfsck.h b/dosfsck/dosfsck.h index 7c6dc67..bd10834 100644 --- a/dosfsck/dosfsck.h +++ b/dosfsck/dosfsck.h @@ -14,13 +14,8 @@ #define _LINUX_STRING_H_ /* hack to avoid inclusion of */ #define _LINUX_FS_H /* hack to avoid inclusion of */ -#include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -# define __KERNEL__ # include # include -# undef __KERNEL__ -#endif #include diff --git a/dosfsck/file.c b/dosfsck/file.c index f57f4b7..e3d2f73 100644 --- a/dosfsck/file.c +++ b/dosfsck/file.c @@ -16,12 +16,7 @@ #define _LINUX_STRING_H_ /* hack to avoid inclusion of */ #define _LINUX_FS_H /* hack to avoid inclusion of */ -#include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -# define __KERNEL__ # include -# undef __KERNEL__ -#endif #include diff --git a/mkdosfs/mkdosfs.c b/mkdosfs/mkdosfs.c index ef14fe8..1bdd119 100644 --- a/mkdosfs/mkdosfs.c +++ b/mkdosfs/mkdosfs.c @@ -66,12 +66,7 @@ #include #include -#include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -# define __KERNEL__ # include -# undef __KERNEL__ -#endif #if __BYTE_ORDER == __BIG_ENDIAN