diff options
author | marcel <marcel@FreeBSD.org> | 2014-03-29 22:02:25 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-03-29 22:02:25 +0000 |
commit | f443f7d2a6cc45c88da835efc503a63f57c60913 (patch) | |
tree | a2d532436f0556403faf6cf9b250633a44c814c2 /usr.bin/mkimg/pc98.c | |
parent | a92bbbfa1396c41b7c9c5e5b85eb7ff4043e036a (diff) | |
download | FreeBSD-src-f443f7d2a6cc45c88da835efc503a63f57c60913.zip FreeBSD-src-f443f7d2a6cc45c88da835efc503a63f57c60913.tar.gz |
Fix build on FreeBSD 9 where <sys/pc98.h> has the same defines as
<sys/diskmbr.h> and not the unique defines introduced later.
Diffstat (limited to 'usr.bin/mkimg/pc98.c')
-rw-r--r-- | usr.bin/mkimg/pc98.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.bin/mkimg/pc98.c b/usr.bin/mkimg/pc98.c index 12311d9..bce6c3c 100644 --- a/usr.bin/mkimg/pc98.c +++ b/usr.bin/mkimg/pc98.c @@ -38,6 +38,19 @@ __FBSDID("$FreeBSD$"); #include "mkimg.h" #include "scheme.h" +#ifndef PC98_MAGIC +#define PC98_MAGIC 0xaa55 +#endif +#ifndef PC98_MAGICOFS +#define PC98_MAGICOFS 510 +#endif +#ifndef PC98_NPARTS +#define PC98_NPARTS 16 +#endif +#ifndef PC98_PTYP_386BSD +#define PC98_PTYP_386BSD 0xc494 +#endif + #define PC98_BOOTCODESZ 8192 static struct mkimg_alias pc98_aliases[] = { |