From deb1a48c3b19e05d05bb63cfe93984d6e47587c7 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 11 Jul 2014 01:49:25 +0000 Subject: Make this compile on older FreeBSD versions that don't have APM_ENT_TYPE_APPLE_BOOT. --- usr.bin/mkimg/apm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.bin/mkimg') 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 -- cgit v1.1