git: 984add354ede - main - find: Re-enable the -acl primary on FreeBSD

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 06 Dec 2024 18:53:03 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=984add354edef8a6b4983a33f89ff62532a1556b

commit 984add354edef8a6b4983a33f89ff62532a1556b
Author:     Yoshiaki Kasahara <ykasap@gmail.com>
AuthorDate: 2024-12-06 18:27:32 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-12-06 18:29:37 +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
---
 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 99c67eed8cd9..268803343a8d 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -33,6 +33,7 @@
  */
 
 #include <sys/types.h>
+#include <sys/acl.h>
 #include <sys/stat.h>
 
 #include <err.h>