diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-13 14:49:17 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-13 15:16:03 -0400 |
commit | 7b19f3f446786bd50951a1e9f8ec97bedb68a279 (patch) | |
tree | a8d7410224f1c6276b462772185ee3dbffdfa8ac /shell_cmds/chroot | |
parent | 73ee5682ebb4865da9ba397b95bb81cf6ce073a6 (diff) | |
download | apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.gz apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.zst apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.zip |
shell_cmds: use libiosexec
Diffstat (limited to 'shell_cmds/chroot')
-rw-r--r-- | shell_cmds/chroot/Makefile | 2 | ||||
-rw-r--r-- | shell_cmds/chroot/chroot.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/chroot/Makefile b/shell_cmds/chroot/Makefile index eb16239..cc7de4d 100644 --- a/shell_cmds/chroot/Makefile +++ b/shell_cmds/chroot/Makefile @@ -3,4 +3,6 @@ BINDIR=/usr/sbin PROG= chroot MAN= chroot.8 +LDADD+=-liosexec + .include <bsd.prog.mk> diff --git a/shell_cmds/chroot/chroot.c b/shell_cmds/chroot/chroot.c index c9c38f5..e9ef7c8 100644 --- a/shell_cmds/chroot/chroot.c +++ b/shell_cmds/chroot/chroot.c @@ -58,6 +58,8 @@ __RCSID("$NetBSD: chroot.c,v 1.7 1998/10/06 03:47:51 mrg Exp $"); #include <string.h> #include <unistd.h> +#include <libiosexec.h> + int main __P((int, char **)); void usage __P((void)) __attribute__((__noreturn__)); |