summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-05-01 20:59:50 +1000
committerDamien Miller <djm@mindrot.org>2000-05-01 20:59:50 +1000
commit70fb671d218378f6df6a9121a71e8320768a0be3 (patch)
treeb039499c4c2b9081220072715ef172f3abd1be60 /sshconnect.c
parente59ce627a4149d39d7841f331d8111bdacc3b604 (diff)
- Fixed __progname symbol collisions reported by Andre Lucas
<andre.lucas@dial.pipex.com>
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.