blob: 11e8a7594b25e8572f3478f6509a5d1c2a5ca653 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Fix a compilation error due to undefined MSDOS_FAT12.
2
3Upstream-Status: Inappropriate [licensing]
4We're tracking an old release of dosfstools due to licensing issues.
5
6Signed-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 */