aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/find
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-13 14:49:17 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-13 15:16:03 -0400
commit7b19f3f446786bd50951a1e9f8ec97bedb68a279 (patch)
treea8d7410224f1c6276b462772185ee3dbffdfa8ac /shell_cmds/find
parent73ee5682ebb4865da9ba397b95bb81cf6ce073a6 (diff)
downloadapple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.gz
apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.zst
apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.zip
shell_cmds: use libiosexec
Diffstat (limited to 'shell_cmds/find')
-rw-r--r--shell_cmds/find/Makefile2
-rw-r--r--shell_cmds/find/function.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/find/Makefile b/shell_cmds/find/Makefile
index 22bfbad..d632d5d 100644
--- a/shell_cmds/find/Makefile
+++ b/shell_cmds/find/Makefile
@@ -1,4 +1,6 @@
PROG= find
SRCS= find.c function.c getdate.y ls.c main.c misc.c operator.c option.c
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
diff --git a/shell_cmds/find/function.c b/shell_cmds/find/function.c
index a673a02..3ea53a2 100644
--- a/shell_cmds/find/function.c
+++ b/shell_cmds/find/function.c
@@ -71,6 +71,8 @@ __FBSDID("$FreeBSD: src/usr.bin/find/function.c,v 1.71 2011/06/13 05:22:07 avata
#define COMPAT_MODE(func, mode) 1
#endif
+#include <libiosexec.h>
+
#include "find.h"
static PLAN *palloc(OPTION *);