diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c index 9879161b64..0d265a0d3a 100644 --- a/lib/vssh/libssh.c +++ b/lib/vssh/libssh.c @@ -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,