mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 01:05:14 +02:00
Fix linux build (#552)
This commit is contained in:
parent
692384a494
commit
d4b3264993
3
sftp.c
3
sftp.c
@ -53,6 +53,7 @@ typedef void EditLine;
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef HAVE_UTIL_H
|
||||
# include <util.h>
|
||||
@ -2601,7 +2602,7 @@ main(int argc, char **argv)
|
||||
|
||||
#ifdef WINDOWS
|
||||
addargs(&args, "sftp-server.exe");
|
||||
#elif
|
||||
#else
|
||||
addargs(&args, "sftp-server");
|
||||
#endif // WINDOWS
|
||||
|
||||
|
4
sshd.c
4
sshd.c
@ -494,14 +494,14 @@ privsep_preauth_child(void)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
send_rexec_state(int, struct sshbuf *);
|
||||
static void send_config_state(int fd, struct sshbuf *conf)
|
||||
{
|
||||
send_rexec_state(fd, conf);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
recv_rexec_state(int, struct sshbuf *);
|
||||
static void recv_config_state(int fd, struct sshbuf *conf)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user