mirror of
https://github.com/curl/curl.git
synced 2025-01-06 13:44:52 +08: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
@ -105,6 +105,13 @@
|
|||||||
} while(0)
|
} while(0)
|
||||||
#endif
|
#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: */
|
/* Local functions: */
|
||||||
static CURLcode myssh_connect(struct Curl_easy *data, bool *done);
|
static CURLcode myssh_connect(struct Curl_easy *data, bool *done);
|
||||||
static CURLcode myssh_multi_statemach(struct Curl_easy *data,
|
static CURLcode myssh_multi_statemach(struct Curl_easy *data,
|
||||||
|
Loading…
Reference in New Issue
Block a user