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