diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -65,7 +65,12 @@ do_child(const char *command, struct passwd * pw, const char *term, | |||
65 | 65 | ||
66 | /* import */ | 66 | /* import */ |
67 | extern ServerOptions options; | 67 | extern ServerOptions options; |
68 | #ifdef HAVE___PROGNAME | ||
68 | extern char *__progname; | 69 | extern char *__progname; |
70 | #else /* HAVE___PROGNAME */ | ||
71 | const char *__progname = "sshd"; | ||
72 | #endif /* HAVE___PROGNAME */ | ||
73 | |||
69 | extern int log_stderr; | 74 | extern int log_stderr; |
70 | extern int debug_flag; | 75 | extern int debug_flag; |
71 | 76 | ||