Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Ensure the __s8 type is properly defined. |
| 2 | |
| 3 | Upstream-Status: Inappropriate [licensing] |
| 4 | We're tracking an old release of dosfstools due to licensing issues. |
| 5 | |
| 6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
| 7 | |
| 8 | --- dosfstools-2.10/dosfsck/dosfsck.h.org 2006-02-21 08:36:14.000000000 -0700 |
| 9 | +++ dosfstools-2.10/dosfsck/dosfsck.h 2006-02-21 08:40:12.000000000 -0700 |
| 10 | @@ -22,6 +22,14 @@ |
| 11 | #undef __KERNEL__ |
| 12 | #endif |
| 13 | |
| 14 | +#ifndef __s8 |
| 15 | +#include <asm/types.h> |
| 16 | +#endif |
| 17 | + |
| 18 | +#ifndef __ASM_STUB_BYTEORDER_H__ |
| 19 | +#include <asm/byteorder.h> |
| 20 | +#endif |
| 21 | + |
| 22 | #include <linux/msdos_fs.h> |
| 23 | |
| 24 | /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't |
| 25 | --- dosfstools-2.10/dosfsck/file.c.org 2006-02-21 08:37:36.000000000 -0700 |
| 26 | +++ dosfstools-2.10/dosfsck/file.c 2006-02-21 08:37:47.000000000 -0700 |
| 27 | @@ -23,6 +23,10 @@ |
| 28 | #undef __KERNEL__ |
| 29 | #endif |
| 30 | |
| 31 | +#ifndef __s8 |
| 32 | +#include <asm/types.h> |
| 33 | +#endif |
| 34 | + |
| 35 | #include <linux/msdos_fs.h> |
| 36 | |
| 37 | #include "common.h" |