diff options
Diffstat (limited to 'bsd-daemon.c')
-rw-r--r-- | bsd-daemon.c | 5 |
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 | |||
46 | int | 49 | int |
47 | daemon(nochdir, noclose) | 50 | daemon(nochdir, noclose) |
48 | int nochdir, noclose; | 51 | int nochdir, noclose; |