summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/vssh/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/vssh/ssh.h')
-rw-r--r--libs/libcurl/src/vssh/ssh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libcurl/src/vssh/ssh.h b/libs/libcurl/src/vssh/ssh.h
index 04ade52823..272e47ce6c 100644
--- a/libs/libcurl/src/vssh/ssh.h
+++ b/libs/libcurl/src/vssh/ssh.h
@@ -30,6 +30,8 @@
#include <libssh2.h>
#include <libssh2_sftp.h>
#elif defined(USE_LIBSSH)
+/* in 0.10.0 or later, ignore deprecated warnings */
+#define SSH_SUPPRESS_DEPRECATED
#include <libssh/libssh.h>
#include <libssh/sftp.h>
#elif defined(USE_WOLFSSH)