From: Darren Tucker Date: Sun, 28 Nov 2021 04:31:37 +0000 (+1100) Subject: Correct ifdef to activate poll() only if needed. X-Git-Tag: V_8_9_P1~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0f4619041d09cd29f3a08da41db5040372bdd1;p=thirdparty%2Fopenssh-portable.git Correct ifdef to activate poll() only if needed. --- 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) {