mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
libssh2_priv.h : Fix musl build warning on sys/poll.h (#346)
File : libssh2_priv.h Notes : musl prints `redirecting incorrect #include <sys/poll.h> to <poll.h>` http://git.musl-libc.org/cgit/musl/commit/include/sys/poll.h?id=54446d730cfb17c5f7bcf57f139458678f5066cc poll is defined by POSIX to be in poll.h: http://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.html Credit : Orivej Desh
This commit is contained in:
committed by
Will Cosgrove
parent
16f2d2bf86
commit
1130615eeb
@@ -66,7 +66,7 @@
|
|||||||
would break backwards compatibility.
|
would break backwards compatibility.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_POLL
|
#ifdef HAVE_POLL
|
||||||
# include <sys/poll.h>
|
# include <poll.h>
|
||||||
#else
|
#else
|
||||||
# if defined(HAVE_SELECT) && !defined(WIN32)
|
# if defined(HAVE_SELECT) && !defined(WIN32)
|
||||||
# ifdef HAVE_SYS_SELECT_H
|
# ifdef HAVE_SYS_SELECT_H
|
||||||
|
|||||||
Reference in New Issue
Block a user