aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/nohup
diff options
context:
space:
mode:
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);