summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-08 08:32:44 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-08 08:32:44 +0000
commitac6c773b3993baecc5450b7d36f98d33e95ef369 (patch)
tree265911defc6930fcd0f6cda65841f9989a40abe5 /meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch
parentbdcf04a863fe53c97027185a0e6791789ab462c4 (diff)
downloadpoky-ac6c773b3993baecc5450b7d36f98d33e95ef369.tar.gz
dosfstools: added (from OE + patch for 2.6.20 headers)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1888 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch')
-rw-r--r--meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch b/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch
new file mode 100644
index 0000000000..e70a3ead2a
--- /dev/null
+++ b/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch
@@ -0,0 +1,30 @@
1--- dosfstools-2.10/dosfsck/dosfsck.h.org 2006-02-21 08:36:14.000000000 -0700
2+++ dosfstools-2.10/dosfsck/dosfsck.h 2006-02-21 08:40:12.000000000 -0700
3@@ -22,6 +22,14 @@
4 #undef __KERNEL__
5 #endif
6
7+#ifndef __s8
8+#include <asm/types.h>
9+#endif
10+
11+#ifndef __ASM_STUB_BYTEORDER_H__
12+#include <asm/byteorder.h>
13+#endif
14+
15 #include <linux/msdos_fs.h>
16
17 /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't
18--- dosfstools-2.10/dosfsck/file.c.org 2006-02-21 08:37:36.000000000 -0700
19+++ dosfstools-2.10/dosfsck/file.c 2006-02-21 08:37:47.000000000 -0700
20@@ -23,6 +23,10 @@
21 #undef __KERNEL__
22 #endif
23
24+#ifndef __s8
25+#include <asm/types.h>
26+#endif
27+
28 #include <linux/msdos_fs.h>
29
30 #include "common.h"