- (bal) add extern char *getopt.  Based on report by dtucker@zip.com.au
diff --git a/ssh-agent.c b/ssh-agent.c
index 72adf68..92ce16a 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -939,6 +939,7 @@
 	char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid];
 	char *agentsocket = NULL;
 	extern int optind;
+	extern char *optarg;
 	fd_set *readsetp = NULL, *writesetp = NULL;
 
 	SSLeay_add_all_algorithms();