BBS: TELESC.NET.BR Assunto: src/syncterm/ssh.h De: Deuc¨ Data: Sat, 2 May 2026 16:26:41 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/830d29d7bfddf53ef01e0d70 Modified Files: src/syncterm/ssh.h Log Message: SyncTERM: guard SFTP externs in ssh.h on WITHOUT_DEUCESSH The squash in 961d4d4631 moved the sftp_state / sftp_available externs (and the sftp.h include they need) from sftp_session.h into ssh.h. Worked fine in DeuceSSH builds but broke the no-SSH configuration: telnets.c includes ssh.h to reach init_crypt() and friends, and pulled in sftp.h transitively but sftp.h isn't on the include path when the SFTP library isn't built. Wrap the sftp.h include and the two externs in `#ifndef WITHOUT_DEUCESSH`. Function declarations (init_crypt, ssh_connect, etc.) stay unguarded telnets.c still calls those. stdatomic.h moves inside the same guard since only the _Atomic bool extern needed it. Co-Authored-By: Claude Opus 4.7 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]