diff options
author | Damien Miller <djm@mindrot.org> | 2000-08-30 09:21:22 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-08-30 09:21:22 +1100 |
commit | 87d29ed405ce6a6aa56660c9c696f6b78a709034 (patch) | |
tree | 1e835a3e9e18b7956b511860e9186f52ea9679c3 /bsd-daemon.c | |
parent | e5192fafbfbc49afaa64c7b9f3c8d90efe2f1297 (diff) |
- (djm) Compile warning fixes from Mark Miller <markm@swoon.net>
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 fe92b76b..de829958 100644 --- a/bsd-daemon.c +++ b/bsd-daemon.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -#include "config.h" +#include "includes.h" #ifndef HAVE_DAEMON @@ -39,13 +39,6 @@ static char rcsid[] = "$OpenBSD: daemon.c,v 1.2 1996/08/19 08:22:13 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ -#include <fcntl.h> -#include <unistd.h> - -#ifdef HAVE_PATHS_H -# include <paths.h> -#endif - int daemon(nochdir, noclose) int nochdir, noclose; |