aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/apply
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/apply')
-rw-r--r--shell_cmds/apply/Makefile5
-rw-r--r--shell_cmds/apply/apply.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/apply/Makefile b/shell_cmds/apply/Makefile
new file mode 100644
index 0000000..2eb2434
--- /dev/null
+++ b/shell_cmds/apply/Makefile
@@ -0,0 +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 *);