mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +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)
|
||||
#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…
Reference in New Issue
Block a user