diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-09-24 03:38:59 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-09-24 03:38:59 +0000 |
commit | 3e5466b179481616453d9e78efcd5ab5bf735472 (patch) | |
tree | 8aaa90e83676ff6aefeac3dff0100c396c8c58a3 /usr.bin | |
parent | 8ad8fba7e69c555ec65d65c047f95db89d70950d (diff) |
don't rely on <unistd.h> for getopt(3) extern variable declarations;
for portable. ok deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/ssh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 99e8470993f..f9b44ce3387 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.143 2001/09/20 13:50:40 markus Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.144 2001/09/24 03:38:58 stevesk Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -256,6 +256,8 @@ main(int ac, char **av) struct passwd *pw; int dummy; uid_t original_effective_uid; + extern int optind, optreset; + extern char *optarg; /* * Save the original real uid. It will be needed later (uid-swapping |