2009-09-27 12:43:15 +00:00
|
|
|
--- a/src/common.h
|
|
|
|
+++ b/src/common.h
|
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
can be found in /usr/share/common-licenses/GPL-3 file.
|
|
|
|
*/
|
2006-12-09 16:00:47 +00:00
|
|
|
|
2012-03-09 01:11:17 +00:00
|
|
|
-#include <asm/types.h>
|
2006-12-09 16:00:47 +00:00
|
|
|
+#include <linux/types.h>
|
|
|
|
|
2009-09-27 12:43:15 +00:00
|
|
|
#ifndef _COMMON_H
|
|
|
|
#define _COMMON_H
|
|
|
|
--- a/src/dosfsck.h
|
|
|
|
+++ b/src/dosfsck.h
|
2012-03-09 01:11:17 +00:00
|
|
|
@@ -31,7 +31,7 @@
|
|
|
|
#define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h> */
|
|
|
|
#define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
|
2009-09-27 12:43:15 +00:00
|
|
|
|
2012-03-09 01:11:17 +00:00
|
|
|
-#include <asm/types.h>
|
2009-09-27 12:43:15 +00:00
|
|
|
+#include <linux/types.h>
|
2012-03-09 01:11:17 +00:00
|
|
|
#include <asm/byteorder.h>
|
2009-09-27 12:43:15 +00:00
|
|
|
|
|
|
|
#include <linux/msdos_fs.h>
|
|
|
|
--- a/src/file.c
|
|
|
|
+++ b/src/file.c
|
2012-03-09 01:11:17 +00:00
|
|
|
@@ -33,7 +33,7 @@
|
|
|
|
#define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h> */
|
|
|
|
#define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
|
2006-12-09 16:00:47 +00:00
|
|
|
|
2012-03-09 01:11:17 +00:00
|
|
|
-#include <asm/types.h>
|
2006-12-09 16:00:47 +00:00
|
|
|
+#include <linux/types.h>
|
|
|
|
|
|
|
|
#include <linux/msdos_fs.h>
|
2009-09-27 12:43:15 +00:00
|
|
|
|
|
|
|
--- a/src/io.c
|
|
|
|
+++ b/src/io.c
|
2010-02-05 11:19:20 +00:00
|
|
|
@@ -39,6 +39,7 @@
|
2006-12-09 16:00:47 +00:00
|
|
|
#include <sys/ioctl.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
+#include <linux/types.h>
|
|
|
|
#include <linux/fd.h>
|
|
|
|
|
|
|
|
#include "dosfsck.h"
|
2009-09-27 12:43:15 +00:00
|
|
|
--- a/src/mkdosfs.c
|
|
|
|
+++ b/src/mkdosfs.c
|
|
|
|
@@ -63,7 +63,7 @@
|
|
|
|
#include <time.h>
|
|
|
|
#include <errno.h>
|
2006-12-09 16:00:47 +00:00
|
|
|
|
2012-03-09 01:11:17 +00:00
|
|
|
-#include <asm/types.h>
|
2006-12-09 16:00:47 +00:00
|
|
|
+#include <linux/types.h>
|
|
|
|
|
|
|
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
2008-08-05 07:02:48 +00:00
|
|
|
|