diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-11-28 15:31:37 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-11-28 15:31:37 +1100 |
commit | 5a0f4619041d09cd29f3a08da41db5040372bdd1 (patch) | |
tree | 86149b4b806f9b9699912ca2b4178ad2fd40ea1b /openbsd-compat/bsd-poll.c | |
parent | d4035c81a71237f690edd7eda32bef7d63fd9528 (diff) |
Correct ifdef to activate poll() only if needed.
Diffstat (limited to 'openbsd-compat/bsd-poll.c')
-rw-r--r-- | openbsd-compat/bsd-poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |