mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-12 16:34:58 +02:00
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…
x
Reference in New Issue
Block a user