aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/xargs
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/xargs')
-rw-r--r--shell_cmds/xargs/Makefile2
-rw-r--r--shell_cmds/xargs/xargs.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/xargs/Makefile b/shell_cmds/xargs/Makefile
index 58d417a..a316efb 100644
--- a/shell_cmds/xargs/Makefile
+++ b/shell_cmds/xargs/Makefile
@@ -1,4 +1,6 @@
PROG= xargs
SRCS= strnsubst.c xargs.c
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
diff --git a/shell_cmds/xargs/xargs.c b/shell_cmds/xargs/xargs.c
index a1ee480..1b71a6d 100644
--- a/shell_cmds/xargs/xargs.c
+++ b/shell_cmds/xargs/xargs.c
@@ -65,6 +65,8 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "pathnames.h"
#ifdef __APPLE__