From: Daniel Stenberg Date: Thu, 14 Dec 2023 22:07:24 +0000 (+0100) Subject: libssh: supress warnings without version check X-Git-Tag: curl-8_6_0~220 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78a1814b331c3535a785aa1c501203ad5a947838;p=thirdparty%2Fcurl.git libssh: supress warnings without version check Define unconditionally. Follow-up from d21bd2190c46ad7fa Closes #12523 --- diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c index df4e07dfa4..328aef5a0b 100644 --- a/lib/vssh/libssh.c +++ b/lib/vssh/libssh.c @@ -32,10 +32,7 @@ #include /* in 0.10.0 or later, ignore deprecated warnings */ -#include -#if (LIBSSH_VERSION_MINOR >= 10) || (LIBSSH_VERSION_MAJOR > 0) #define SSH_SUPPRESS_DEPRECATED -#endif #include #include