summaryrefslogtreecommitdiff
path: root/bsd-daemon.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-20 12:18:40 +1100
committerDamien Miller <djm@mindrot.org>1999-11-20 12:18:40 +1100
commitc6398efcbaa2c8fea00420940fcf99b183ff24e9 (patch)
treea431c08590880a435c51c2df9dc3d7b218a81b7b /bsd-daemon.c
parent36fb30f6dd11515087e6298cb17e96a3f2f5b679 (diff)
downloadopenssh-git-c6398efcbaa2c8fea00420940fcf99b183ff24e9.tar.gz
- Merged more Solaris support from Marc G. Fournier
<marc.fournier@acadiau.ca> - Wrote autoconf tests for integer bit-types - Fixed enabling kerberos support
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 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;