diff options
Diffstat (limited to 'bsd-daemon.c')
-rw-r--r-- | bsd-daemon.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bsd-daemon.c b/bsd-daemon.c index fe92b76b6..de829958c 100644 --- a/bsd-daemon.c +++ b/bsd-daemon.c | |||
@@ -31,7 +31,7 @@ | |||
31 | * SUCH DAMAGE. | 31 | * SUCH DAMAGE. |
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include "config.h" | 34 | #include "includes.h" |
35 | 35 | ||
36 | #ifndef HAVE_DAEMON | 36 | #ifndef HAVE_DAEMON |
37 | 37 | ||
@@ -39,13 +39,6 @@ | |||
39 | static char rcsid[] = "$OpenBSD: daemon.c,v 1.2 1996/08/19 08:22:13 tholo Exp $"; | 39 | 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> | ||
43 | #include <unistd.h> | ||
44 | |||
45 | #ifdef HAVE_PATHS_H | ||
46 | # include <paths.h> | ||
47 | #endif | ||
48 | |||
49 | int | 42 | int |
50 | daemon(nochdir, noclose) | 43 | daemon(nochdir, noclose) |
51 | int nochdir, noclose; | 44 | int nochdir, noclose; |