- Renamed BSD helper function files to bsd-*
 - Added tests for login and daemon and OpenBSD replacements for when they
   are absent.
diff --git a/bsd-daemon.h b/bsd-daemon.h
new file mode 100644
index 0000000..cd91ea0
--- /dev/null
+++ b/bsd-daemon.h
@@ -0,0 +1,9 @@
+#ifndef _BSD_DAEMON_H
+#define _BSD_DAEMON_H
+
+#include "config.h"
+#ifndef HAVE_DAEMON
+int daemon(int nochdir, int noclose);
+#endif /* !HAVE_DAEMON */
+
+#endif /* _BSD_DAEMON_H */