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 7b292c12..fe92b76b 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 $" #endif /* LIBC_SCCS and not lint */ #include <fcntl.h> -#include <paths.h> #include <unistd.h> +#ifdef HAVE_PATHS_H +# include <paths.h> +#endif + int daemon(nochdir, noclose) int nochdir, noclose; |