mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
- Define __progname in session.c if libc doesn't
This commit is contained in:
parent
a552faf564
commit
06d84b78e9
@ -65,7 +65,12 @@ do_child(const char *command, struct passwd * pw, const char *term,
|
|||||||
|
|
||||||
/* import */
|
/* import */
|
||||||
extern ServerOptions options;
|
extern ServerOptions options;
|
||||||
|
#ifdef HAVE___PROGNAME
|
||||||
extern char *__progname;
|
extern char *__progname;
|
||||||
|
#else /* HAVE___PROGNAME */
|
||||||
|
const char *__progname = "sshd";
|
||||||
|
#endif /* HAVE___PROGNAME */
|
||||||
|
|
||||||
extern int log_stderr;
|
extern int log_stderr;
|
||||||
extern int debug_flag;
|
extern int debug_flag;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user