aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/apply
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/apply')
-rw-r--r--shell_cmds/apply/Makefile2
-rw-r--r--shell_cmds/apply/apply.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/apply/Makefile b/shell_cmds/apply/Makefile
index 6c62a46..2eb2434 100644
--- a/shell_cmds/apply/Makefile
+++ b/shell_cmds/apply/Makefile
@@ -1,3 +1,5 @@
PROG= apply
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
diff --git a/shell_cmds/apply/apply.c b/shell_cmds/apply/apply.c
index cf4e9c1..314af66 100644
--- a/shell_cmds/apply/apply.c
+++ b/shell_cmds/apply/apply.c
@@ -55,6 +55,8 @@ __RCSID("$FreeBSD: src/usr.bin/apply/apply.c,v 1.22 2002/07/14 18:22:12 alfred E
#include <string.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#define EXEC "exec "
static int exec_shell(const char *, char *, char *);