[packages] luafilesystem: update to 1.5.0
[openwrt/svn-archive/archive.git] / utils / dosfstools / patches / 002-linux_26_headers.patch
1 --- a/src/common.h
2 +++ b/src/common.h
3 @@ -19,7 +19,7 @@
4 can be found in /usr/share/common-licenses/GPL-3 file.
5 */
6
7 -# include <asm/types.h>
8 +#include <linux/types.h>
9
10 #ifndef _COMMON_H
11 #define _COMMON_H
12 --- a/src/dosfsck.h
13 +++ b/src/dosfsck.h
14 @@ -32,8 +32,8 @@
15 #define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h>*/
16 #define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
17
18 -# include <asm/types.h>
19 -# include <asm/byteorder.h>
20 +#include <linux/types.h>
21 +#include <asm/byteorder.h>
22
23 #include <linux/msdos_fs.h>
24
25 --- a/src/file.c
26 +++ b/src/file.c
27 @@ -34,7 +34,7 @@
28 #define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h>*/
29 #define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
30
31 -# include <asm/types.h>
32 +#include <linux/types.h>
33
34 #include <linux/msdos_fs.h>
35
36 --- a/src/io.c
37 +++ b/src/io.c
38 @@ -37,6 +37,7 @@
39 #include <sys/ioctl.h>
40 #include <errno.h>
41 #include <fcntl.h>
42 +#include <linux/types.h>
43 #include <linux/fd.h>
44
45 #include "dosfsck.h"
46 --- a/src/mkdosfs.c
47 +++ b/src/mkdosfs.c
48 @@ -63,7 +63,7 @@
49 #include <time.h>
50 #include <errno.h>
51
52 -# include <asm/types.h>
53 +#include <linux/types.h>
54
55 #if __BYTE_ORDER == __BIG_ENDIAN
56