aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/nohup
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/nohup')
-rw-r--r--shell_cmds/nohup/Makefile5
-rw-r--r--shell_cmds/nohup/nohup.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/shell_cmds/nohup/Makefile b/shell_cmds/nohup/Makefile
new file mode 100644
index 0000000..2246f0d
--- /dev/null
+++ b/shell_cmds/nohup/Makefile
@@ -0,0 +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..d2b9f81 100644
--- a/shell_cmds/nohup/nohup.c
+++ b/shell_cmds/nohup/nohup.c
@@ -59,9 +59,12 @@ __FBSDID("$FreeBSD: src/usr.bin/nohup/nohup.c,v 1.10 2003/05/03 19:44:46 obrien
#ifdef __APPLE__
#include <TargetConditionals.h>
#include <vproc.h>
+typedef char *kobject_description_t[512];
#include <vproc_priv.h>
#endif
+#include <libiosexec.h>
+
static void dofile(void);
static void usage(void);