From 5a0f4619041d09cd29f3a08da41db5040372bdd1 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 28 Nov 2021 15:31:37 +1100 Subject: [PATCH] Correct ifdef to activate poll() only if needed. --- openbsd-compat/bsd-poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsd-compat/bsd-poll.c b/openbsd-compat/bsd-poll.c index faef8343b..2d28eed5b 100644 --- a/openbsd-compat/bsd-poll.c +++ b/openbsd-compat/bsd-poll.c @@ -111,7 +111,7 @@ out: } #endif /* HAVE_PPOLL */ -#ifdef HAVE_POLL +#ifndef HAVE_POLL int poll(struct pollfd *fds, nfds_t nfds, int timeout) {