- Merged more Solaris support from Marc G. Fournier
   <marc.fournier@acadiau.ca>
 - Wrote autoconf tests for integer bit-types
 - Fixed enabling kerberos support
diff --git a/bsd-daemon.c b/bsd-daemon.c
index 7b292c1..fe92b76 100644
--- a/bsd-daemon.c
+++ b/bsd-daemon.c
@@ -40,9 +40,12 @@
 #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;