- 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 */
|
||||
extern ServerOptions options;
|
||||
#ifdef HAVE___PROGNAME
|
||||
extern char *__progname;
|
||||
#else /* HAVE___PROGNAME */
|
||||
const char *__progname = "sshd";
|
||||
#endif /* HAVE___PROGNAME */
|
||||
|
||||
extern int log_stderr;
|
||||
extern int debug_flag;
|
||||
|
||||
|
|
Loading…
Reference in New Issue