git: 000823559af9 - stable/14 - find: Re-enable the -acl primary on FreeBSD

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 27 Dec 2024 17:06:27 UTC
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=000823559af9a890cbe90958470e937c2425903f

commit 000823559af9a890cbe90958470e937c2425903f
Author:     Yoshiaki Kasahara <ykasap@gmail.com>
AuthorDate: 2024-12-06 18:27:32 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-12-27 15:49:45 +0000

    find: Re-enable the -acl primary on FreeBSD
    
    This was made conditional to support cross-builds, but the relevant
    header wasn't included so it was never enabled for native builds.
    
    PR:             278124
    Fixes:          c3a6ea5ba6b5 Allow compiling usr.bin/find on Linux and Mac
    (cherry picked from commit 984add354edef8a6b4983a33f89ff62532a1556b)
---
 usr.bin/find/option.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index dc5e5003b3fb..bcb407fdf6f7 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -38,6 +38,7 @@ static char sccsid[] = "@(#)option.c	8.2 (Berkeley) 4/16/94";
 
 #include <sys/cdefs.h>
 #include <sys/types.h>
+#include <sys/acl.h>
 #include <sys/stat.h>
 
 #include <err.h>