diff --git a/libatalk/adouble/ad_open.c b/libatalk/adouble/ad_open.c index ff0c20dc6d7..1b4717748e7 100644 --- a/libatalk/adouble/ad_open.c +++ b/libatalk/adouble/ad_open.c @@ -1588,7 +1588,7 @@ static bool ad_entry_check_size(uint32_t eid, [ADEID_SHORTNAME] = {ADEDLEN_SHORTNAME, false, false}, [ADEID_AFPFILEI] = {ADEDLEN_AFPFILEI, true, false}, [ADEID_DID] = {ADEDLEN_DID, true, false}, -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__DragonFly__) || defined(__OpenBSD__) [ADEID_PRIVDEV] = {ADEDLEN_PRIVDEV, false, false}, #else [ADEID_PRIVDEV] = {ADEDLEN_PRIVDEV, true, false},