aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch
blob: c04280e99e06ba27497b6577d6184e3e931f10d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Ensure the __s8 type is properly defined.

Upstream-Status: Inappropriate [licensing]
We're tracking an old release of dosfstools due to licensing issues.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>

--- dosfstools-2.10/dosfsck/dosfsck.h.org	2006-02-21 08:36:14.000000000 -0700
+++ dosfstools-2.10/dosfsck/dosfsck.h	2006-02-21 08:40:12.000000000 -0700
@@ -22,6 +22,14 @@
 # undef __KERNEL__
 #endif
 
+#ifndef __s8
+#include <asm/types.h>
+#endif
+
+#ifndef __ASM_STUB_BYTEORDER_H__
+#include <asm/byteorder.h>
+#endif
+
 #include <linux/msdos_fs.h>
 
 #undef CF_LE_W
--- dosfstools-2.10/dosfsck/file.c.org	2006-02-21 08:37:36.000000000 -0700
+++ dosfstools-2.10/dosfsck/file.c	2006-02-21 08:37:47.000000000 -0700
@@ -23,6 +23,10 @@
 # undef __KERNEL__
 #endif
 
+#ifndef __s8
+#include <asm/types.h>
+#endif
+
 #include <linux/msdos_fs.h>
 
 #include "common.h"