summaryrefslogtreecommitdiffstats
path: root/ssh-rand-helper.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-03-05 01:40:19 +0100
committerDamien Miller <djm@mindrot.org>2010-03-05 01:40:19 +0100
commit48b6021721fb2083898be696a72b261a9136c293 (patch)
treeb84f3468f1ed214ebe47e0718663b4e3be185eda /ssh-rand-helper.c
parent - djm@cvs.openbsd.org 2010/03/04 23:27:25 (diff)
downloadopenssh-48b6021721fb2083898be696a72b261a9136c293.tar.xz
openssh-48b6021721fb2083898be696a72b261a9136c293.zip
- (djm) [ssh-rand-helper.c] declare optind, avoiding compilation failure
on some platforms
Diffstat (limited to 'ssh-rand-helper.c')
-rw-r--r--ssh-rand-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c
index 0fcda7fff..fa5070499 100644
--- a/ssh-rand-helper.c
+++ b/ssh-rand-helper.c
@@ -818,6 +818,7 @@ main(int argc, char **argv)
unsigned char *buf;
int ret, ch, debug_level, output_hex, bytes;
extern char *optarg;
+ extern int optind;
LogLevel ll;
__progname = ssh_get_progname(argv[0]);