From 1130615eeb60fdff985174fedeef819c96a438a0 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 8 May 2019 22:26:31 +0000 Subject: [PATCH] libssh2_priv.h : Fix musl build warning on sys/poll.h (#346) File : libssh2_priv.h Notes : musl prints `redirecting incorrect #include to ` 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 --- src/libssh2_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libssh2_priv.h b/src/libssh2_priv.h index 563e776b..33c5ad3f 100644 --- a/src/libssh2_priv.h +++ b/src/libssh2_priv.h @@ -66,7 +66,7 @@ would break backwards compatibility. */ #ifdef HAVE_POLL -# include +# include #else # if defined(HAVE_SELECT) && !defined(WIN32) # ifdef HAVE_SYS_SELECT_H