From 9ad2f6b3b136b39b6fd05fd918448d9bd6e451d7 Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Tue, 24 Sep 2024 22:30:38 +0200 Subject: [PATCH] Add missing #include's to sftpserver.h Presumably this header is always imported with all the other necessary ones so it doesn't usually make a difference, but generating Julia bindings from the header by itself requires all the types to be defined (e.g. ssh_session, ssh_channel, etc). Signed-off-by: James Wrigley Reviewed-by: Jakub Jelen --- include/libssh/sftpserver.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libssh/sftpserver.h b/include/libssh/sftpserver.h index d7ed6e49..01b17c7f 100644 --- a/include/libssh/sftpserver.h +++ b/include/libssh/sftpserver.h @@ -29,6 +29,10 @@ extern "C" { #endif #include + +#include "libssh/libssh.h" +#include "libssh/sftp.h" + /** * @defgroup libssh_sftp_server The libssh SFTP server API *