Skip to content

Commit

Permalink
Fix non-ssh builds
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrg committed Aug 27, 2024
1 parent 0109edf commit 82d6213
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kermit/k95/ckctel.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ int sstelnet = 0; /* Do server-side Telnet negotiation */
#include "ckocon.h"
extern int tt_type, max_tt;
extern struct tt_info_rec tt_info[];
#ifdef SSHBUILTIN
#include "ckossh.h"
#endif /* SSHBUILTIN */
#endif /* OS2 */
#endif /* NOTERM */

Expand Down Expand Up @@ -1080,7 +1082,9 @@ tn_get_display()
if ((TELOPT_ME(TELOPT_XDISPLOC) ||
TELOPT_U(TELOPT_FORWARD_X))
#if OS2
#ifdef SSHBUILTIN
|| (IS_SSH() && ssh_get_iparam(SSH_IPARAM_XFW))
#endif /* SSHBUILTIN */
#endif /* OS2 */
) {
ckmakmsg(tmploc,256,myipaddr,":0.0",NULL,NULL);
Expand Down

0 comments on commit 82d6213

Please sign in to comment.