Correct ifdef to activate poll() only if needed.
This commit is contained in:
parent
d4035c81a7
commit
5a0f461904
openbsd-compat
|
@ -111,7 +111,7 @@ out:
|
||||||
}
|
}
|
||||||
#endif /* HAVE_PPOLL */
|
#endif /* HAVE_PPOLL */
|
||||||
|
|
||||||
#ifdef HAVE_POLL
|
#ifndef HAVE_POLL
|
||||||
int
|
int
|
||||||
poll(struct pollfd *fds, nfds_t nfds, int timeout)
|
poll(struct pollfd *fds, nfds_t nfds, int timeout)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue