git: 8b82dcb87eba - stable/13 - find: Re-enable the -acl primary on FreeBSD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Dec 2024 17:06:51 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=8b82dcb87ebae3c712b6af5bb455b32fc901bd36
commit 8b82dcb87ebae3c712b6af5bb455b32fc901bd36
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:50:16 +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>