scummvm random work
[patches.git] / uclinux-dosfstools-headers.patch
CommitLineData
5e993f12 1Index: user/dosfstools/dosfsck/io.c
2===================================================================
3RCS file: /var/cvs/uClinux-dist/user/dosfstools/dosfsck/io.c,v
4retrieving revision 1.1.1.2
5diff -u -p -r1.1.1.2 io.c
6--- user/dosfstools/dosfsck/io.c 1 Feb 2007 13:37:11 -0000 1.1.1.2
7+++ user/dosfstools/dosfsck/io.c 5 Feb 2007 03:59:38 -0000
8@@ -55,7 +55,7 @@ static loff_t llseek( int fd, loff_t off
9 static int _llseek(uint fd, ulong hi, ulong lo,
10 loff_t *res, uint wh)
11 {
12- return syscall(__NR__llseek, fd, hi, log, res, wh);
13+ return syscall(__NR__llseek, fd, hi, lo, res, wh);
14 }
15
16 static loff_t llseek( int fd, loff_t offset, int whence )
17Index: user/dosfstools/mkdosfs/mkdosfs.c
18===================================================================
19RCS file: /var/cvs/uClinux-dist/user/dosfstools/mkdosfs/mkdosfs.c,v
20retrieving revision 1.1.1.2
21diff -u -p -r1.1.1.2 mkdosfs.c
22--- user/dosfstools/mkdosfs/mkdosfs.c 1 Feb 2007 13:37:12 -0000 1.1.1.2
23+++ user/dosfstools/mkdosfs/mkdosfs.c 5 Feb 2007 03:59:39 -0000
24@@ -50,6 +50,7 @@
25 #include "../version.h"
26
27 #include <fcntl.h>
28+#include <linux/types.h>
29 #include <linux/hdreg.h>
30 #include <linux/fs.h>
31 #include <linux/fd.h>