[packages] dosfstools: update to 3.0.12, add fsck script (#10697)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30858 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker
2012-03-09 01:11:17 +00:00
parent de5d1f20e7
commit 7b62f2c465
3 changed files with 47 additions and 17 deletions

View File

@ -4,31 +4,29 @@
can be found in /usr/share/common-licenses/GPL-3 file.
*/
-# include <asm/types.h>
-#include <asm/types.h>
+#include <linux/types.h>
#ifndef _COMMON_H
#define _COMMON_H
--- a/src/dosfsck.h
+++ b/src/dosfsck.h
@@ -32,8 +32,8 @@
#define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h>*/
#define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
@@ -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> */
-# include <asm/types.h>
-# include <asm/byteorder.h>
-#include <asm/types.h>
+#include <linux/types.h>
+#include <asm/byteorder.h>
#include <asm/byteorder.h>
#include <linux/msdos_fs.h>
--- a/src/file.c
+++ b/src/file.c
@@ -34,7 +34,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> */
@@ -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> */
-# include <asm/types.h>
-#include <asm/types.h>
+#include <linux/types.h>
#include <linux/msdos_fs.h>
@ -49,7 +47,7 @@
#include <time.h>
#include <errno.h>
-# include <asm/types.h>
-#include <asm/types.h>
+#include <linux/types.h>
#if __BYTE_ORDER == __BIG_ENDIAN