summaryrefslogtreecommitdiff
path: root/bsd-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-daemon.c')
-rw-r--r--bsd-daemon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bsd-daemon.c b/bsd-daemon.c
index 7b292c126..fe92b76b6 100644
--- a/bsd-daemon.c
+++ b/bsd-daemon.c
@@ -40,9 +40,12 @@ static char rcsid[] = "$OpenBSD: daemon.c,v 1.2 1996/08/19 08:22:13 tholo Exp $"
40#endif /* LIBC_SCCS and not lint */ 40#endif /* LIBC_SCCS and not lint */
41 41
42#include <fcntl.h> 42#include <fcntl.h>
43#include <paths.h>
44#include <unistd.h> 43#include <unistd.h>
45 44
45#ifdef HAVE_PATHS_H
46# include <paths.h>
47#endif
48
46int 49int
47daemon(nochdir, noclose) 50daemon(nochdir, noclose)
48 int nochdir, noclose; 51 int nochdir, noclose;