Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Fix a compilation error due to undefined MSDOS_FAT12. |
| 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/boot.c.orig 2004-10-15 08:51:42.394725176 -0600 |
| 9 | +++ dosfstools-2.10/dosfsck/boot.c 2004-10-15 08:49:16.776862456 -0600 |
| 10 | @@ -14,6 +14,9 @@ |
| 11 | #include "io.h" |
| 12 | #include "boot.h" |
| 13 | |
| 14 | +#ifndef MSDOS_FAT12 |
| 15 | +#define MSDOS_FAT12 4084 |
| 16 | +#endif |
| 17 | |
| 18 | #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) |
| 19 | /* don't divide by zero */ |