]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Correct ifdef to activate poll() only if needed.
authorDarren Tucker <dtucker@dtucker.net>
Sun, 28 Nov 2021 04:31:37 +0000 (15:31 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sun, 28 Nov 2021 04:31:37 +0000 (15:31 +1100)
openbsd-compat/bsd-poll.c

index faef8343bc400c4b8f7a4f74507212a2e0dc95c6..2d28eed5ba33b33b1a930454eeb39198be75163c 100644 (file)
@@ -111,7 +111,7 @@ out:
 }
 #endif /* HAVE_PPOLL */
 
-#ifdef HAVE_POLL
+#ifndef HAVE_POLL
 int
 poll(struct pollfd *fds, nfds_t nfds, int timeout)
 {