]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libssh: supress warnings without version check
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 Dec 2023 22:07:24 +0000 (23:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 14 Dec 2023 22:47:48 +0000 (23:47 +0100)
Define unconditionally.

Follow-up from d21bd2190c46ad7fa

Closes #12523

lib/vssh/libssh.c

index df4e07dfa4e3cc551101c09575f82a59b2092b2a..328aef5a0b029c5f8007676d3b5a2a88ad62d51d 100644 (file)
 #include <limits.h>
 
 /* in 0.10.0 or later, ignore deprecated warnings */
-#include <libssh/libssh_version.h>
-#if (LIBSSH_VERSION_MINOR >= 10) || (LIBSSH_VERSION_MAJOR > 0)
 #define SSH_SUPPRESS_DEPRECATED
-#endif
 #include <libssh/libssh.h>
 #include <libssh/sftp.h>