curl/lib/vssh
Viktor Szakats ac207bf567
ssh: deduplicate SSH backend includes (and fix libssh cmake unity build)
For libssh, it fixes a "unity" build issue where libssh deprecation
warnings were not suppressed before this patch, because the suppression
macro was only set before just one of the two `libssh.h` includes.
If the other was compiled first in unity mode, the warnings appeared.

Seen in local curl-for-win build (`CW_CONFIG=test-x64-libssh-quictls`)
with libssh 0.11.0. (Also in a GHA/macos cmake job upcoming in #14614)

Use this opportunity to drop duplicate SSH header includes from the SSH
modules. It's enough to include them via the common `ssh.h` header.

Closes #14612
2024-08-20 21:34:24 +02:00
..
libssh2.c ssh: deduplicate SSH backend includes (and fix libssh cmake unity build) 2024-08-20 21:34:24 +02:00
libssh.c ssh: deduplicate SSH backend includes (and fix libssh cmake unity build) 2024-08-20 21:34:24 +02:00
ssh.h ssh: deduplicate SSH backend includes (and fix libssh cmake unity build) 2024-08-20 21:34:24 +02:00
wolfssh.c ssh: deduplicate SSH backend includes (and fix libssh cmake unity build) 2024-08-20 21:34:24 +02:00