aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/nohup
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-13 14:49:17 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-13 15:16:03 -0400
commit7b19f3f446786bd50951a1e9f8ec97bedb68a279 (patch)
treea8d7410224f1c6276b462772185ee3dbffdfa8ac /shell_cmds/nohup
parent73ee5682ebb4865da9ba397b95bb81cf6ce073a6 (diff)
downloadapple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.gz
apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.zst
apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.zip
shell_cmds: use libiosexec
Diffstat (limited to 'shell_cmds/nohup')
-rw-r--r--shell_cmds/nohup/Makefile2
-rw-r--r--shell_cmds/nohup/nohup.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/nohup/Makefile b/shell_cmds/nohup/Makefile
index 5698f6a..2246f0d 100644
--- a/shell_cmds/nohup/Makefile
+++ b/shell_cmds/nohup/Makefile
@@ -1,3 +1,5 @@
PROG= nohup
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
diff --git a/shell_cmds/nohup/nohup.c b/shell_cmds/nohup/nohup.c
index 021361c..f33e21b 100644
--- a/shell_cmds/nohup/nohup.c
+++ b/shell_cmds/nohup/nohup.c
@@ -62,6 +62,8 @@ __FBSDID("$FreeBSD: src/usr.bin/nohup/nohup.c,v 1.10 2003/05/03 19:44:46 obrien
#include <vproc_priv.h>
#endif
+#include <libiosexec.h>
+
static void dofile(void);
static void usage(void);