From 7b19f3f446786bd50951a1e9f8ec97bedb68a279 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 13 May 2021 14:49:17 -0400 Subject: shell_cmds: use libiosexec --- shell_cmds/nohup/Makefile | 2 ++ shell_cmds/nohup/nohup.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'shell_cmds/nohup') 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 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 #endif +#include + static void dofile(void); static void usage(void); -- cgit v1.2.3-56-ge451