mirror of
https://github.com/curl/curl.git
synced 2026-04-15 23:51:45 +03:00
libssh: fix build with old libssh versions
... that don't have the SSH_S_* defines. Spotted on a machine using libssh 0.7.3 Closes #8574
This commit is contained in:
parent
7da29df6d3
commit
7b0fd39db2
1 changed files with 7 additions and 0 deletions
|
|
@ -105,6 +105,13 @@
|
|||
} while(0)
|
||||
#endif
|
||||
|
||||
#ifndef SSH_S_IFMT
|
||||
#define SSH_S_IFMT S_IFMT
|
||||
#endif
|
||||
#ifndef SSH_S_IFLNK
|
||||
#define SSH_S_IFLNK S_IFLNK
|
||||
#endif
|
||||
|
||||
/* Local functions: */
|
||||
static CURLcode myssh_connect(struct Curl_easy *data, bool *done);
|
||||
static CURLcode myssh_multi_statemach(struct Curl_easy *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue