summaryrefslogtreecommitdiffstats
path: root/daemon/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c
index 789a202..140bee1 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -147,7 +147,7 @@ void set_signal_handlers(void)
sigaction(SIGUSR2, &sa, NULL);
}
-#ifdef __APPLE__
+#if defined(__FreeBSD__) || defined(__APPLE__)
static int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *sigmask)
{
int ready;