diff options
Diffstat (limited to 'openbsd-compat/daemon.h')
-rw-r--r-- | openbsd-compat/daemon.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsd-compat/daemon.h b/openbsd-compat/daemon.h new file mode 100644 index 000000000..cd91ea07b --- /dev/null +++ b/openbsd-compat/daemon.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef _BSD_DAEMON_H | ||
2 | #define _BSD_DAEMON_H | ||
3 | |||
4 | #include "config.h" | ||
5 | #ifndef HAVE_DAEMON | ||
6 | int daemon(int nochdir, int noclose); | ||
7 | #endif /* !HAVE_DAEMON */ | ||
8 | |||
9 | #endif /* _BSD_DAEMON_H */ | ||