Only include sys/poll.h if we don't have poll.h.
Prevents warnings on MUSL based systems such as Alpine.
This commit is contained in:
parent
7c0d4ce911
commit
5a102e9cb2
|
@ -33,8 +33,7 @@
|
|||
#include <sys/types.h>
|
||||
#ifdef HAVE_POLL_H
|
||||
# include <poll.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_POLL_H
|
||||
#elif HAVE_SYS_POLL_H
|
||||
# include <sys/poll.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue