aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/find
diff options
context:
space:
mode:
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 *);