summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 8b3ac21..1af5832 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -53,6 +53,10 @@
const char * getprogname (void);
#endif
+#ifndef HAVE_DAEMON
+int daemon (int nochdir, int noclose);
+#endif
+
#ifdef HAVE_ERR_H
#include <err.h>