[openssh-commits] [openssh] 01/01: Correct ifdef to activate poll() only if needed.
git+noreply at mindrot.org
git+noreply at mindrot.org
Sun Nov 28 15:32:37 AEDT 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 5a0f4619041d09cd29f3a08da41db5040372bdd1
Author: Darren Tucker <dtucker at dtucker.net>
Date: Sun Nov 28 15:31:37 2021 +1100
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 faef8343..2d28eed5 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)
{
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list