diff options
author | marcel <marcel@FreeBSD.org> | 2014-07-11 01:49:25 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-07-11 01:49:25 +0000 |
commit | deb1a48c3b19e05d05bb63cfe93984d6e47587c7 (patch) | |
tree | 21fc4dbbd972ba7c6246523f61e45ef5d9eeff94 /usr.bin | |
parent | 307c44649f55ed89e7870fde0caf1145bde9c133 (diff) | |
download | FreeBSD-src-deb1a48c3b19e05d05bb63cfe93984d6e47587c7.zip FreeBSD-src-deb1a48c3b19e05d05bb63cfe93984d6e47587c7.tar.gz |
Make this compile on older FreeBSD versions that don't have
APM_ENT_TYPE_APPLE_BOOT.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mkimg/apm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/mkimg/apm.c b/usr.bin/mkimg/apm.c index 1877a54..12add8e 100644 --- a/usr.bin/mkimg/apm.c +++ b/usr.bin/mkimg/apm.c @@ -39,6 +39,9 @@ __FBSDID("$FreeBSD$"); #include "mkimg.h" #include "scheme.h" +#ifndef APM_ENT_TYPE_APPLE_BOOT +#define APM_ENT_TYPE_APPLE_BOOT "Apple_Bootstrap" +#endif #ifndef APM_ENT_TYPE_FREEBSD_NANDFS #define APM_ENT_TYPE_FREEBSD_NANDFS "FreeBSD-nandfs" #endif |