From 2f7de1e5f9fe02760ea08ec068070138201ed015 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Fri, 3 Jan 2025 19:44:15 +0100 Subject: [PATCH] Loosen AppleDouble checks for DragonflyBSD and OpenBSD --- libatalk/adouble/ad_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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},