summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-07-14 13:22:53 +1000
committerDamien Miller <djm@mindrot.org>2001-07-14 13:22:53 +1000
commit4f8e66929b592825856df3625f5de7922f826020 (patch)
treea2aa5cbf687af528463900a8852b02386e12729e /ssh.c
parent8f6bc30a4b23fb07ca3aca01a745f070a2129760 (diff)
- (djm) Pull in getopt(3) from OpenBSD libc for the optreset extension.
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh.c b/ssh.c
index 98854d20c..374630f71 100644
--- a/ssh.c
+++ b/ssh.c
@@ -259,6 +259,10 @@ main(int ac, char **av)
259 struct passwd *pw; 259 struct passwd *pw;
260 int dummy; 260 int dummy;
261 uid_t original_effective_uid; 261 uid_t original_effective_uid;
262 extern int optopt;
263 extern int optind;
264 extern int optreset;
265 extern char *optarg;
262 266
263 __progname = get_progname(av[0]); 267 __progname = get_progname(av[0]);
264 init_rng(); 268 init_rng();