Skip to content

Commit 78cef95

Browse files
authored
Fix Linux compilation (#827)
1 parent 745466f commit 78cef95

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

sshd-session.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,10 +1738,12 @@ main(int ac, char **av)
17381738

17391739
rdomain = ssh_packet_rdomain_in(ssh);
17401740

1741+
#ifdef WINDOWS
17411742
if (privsep_auth_child) {
17421743
recv_idexch_state(ssh, PRIVSEP_MONITOR_FD);
17431744
goto idexch_done;
17441745
}
1746+
#endif /* WINDOWS */
17451747

17461748
/* Log the connection. */
17471749
laddr = get_local_ipaddr(sock_in);

sshd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ main(int ac, char **av)
13591359
struct sshkey *pubkey;
13601360
struct connection_info connection_info;
13611361
#ifndef WINDOWS
1362-
struct utsname utsname
1362+
struct utsname utsname;
13631363
#endif /* !WINDOWS */
13641364
sigset_t sigmask;
13651365

0 commit comments

Comments
 (0)