summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 5554c064..859450d3 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -30,7 +30,11 @@ char *client_version_string = NULL;
char *server_version_string = NULL;
extern Options options;
+#ifdef HAVE___PROGNAME
extern char *__progname;
+#else /* HAVE___PROGNAME */
+static const char *__progname = "ssh";
+#endif /* HAVE___PROGNAME */
/*
* Connect to the given ssh server using a proxy command.