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