mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
e462f207d23fe6ec0246994d64dc6d658459d354
sys/uio.h include
Being included if `HAVE_SYS_UIO_H` was set. This macro is set by libssh2 autotools and cmake configure and thus not meant to be available or used in public headers. It may trigger this include in libssh2-user projects which accidentally set this macro on their own. Also the stated reason for this include elsewhere in the code is "for struct iovec on some platforms", but `iovec` isn't referenced from public headers. The original commit says it is for Windows, but Windows (MSVC and mingw-w64 that is) do not provide this header. Then it was subsequently guarded for Darwin builds, and then switched to the current guard in the commit initially bringing CMake support to libssh2. This patch may in theory break 3rd-party projects which by accident relied on `libssh2.h` include this header for them. Follow-up to6bf8983368Follow-up toc070bdacc7Closes #2470
libssh2 - SSH2 library
libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
Installation instructions:
Description
libssh2 - это библиотека, реализующая протокол SSH2, доступная по пересмотренной лицензии BSD
Languages
C
84.2%
CMake
3.7%
Perl
3.2%
M4
2.7%
Shell
2.3%
Other
3.7%