diff options
author | Tim Rice <tim@multitalents.net> | 2001-09-17 23:34:33 +0200 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2001-09-17 23:34:33 +0200 |
commit | a4f7ae1a35b5da61705bea75bcc50bc7a27726dd (patch) | |
tree | 366ca694b41098a5808d5e584244241dacba921a /includes.h | |
parent | double doh (diff) | |
download | openssh-a4f7ae1a35b5da61705bea75bcc50bc7a27726dd.tar.xz openssh-a4f7ae1a35b5da61705bea75bcc50bc7a27726dd.zip |
- (tim) [includes.h openbsd-compat/getopt.c openbsd-compat/getopt.h]
rename getopt() to BSDgetopt() to keep form conflicting with
system getopt().
[Makefile.in configure.in] disable filepriv until I can add
missing procpriv calls.
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes.h b/includes.h index 554e9476e..c73780d26 100644 --- a/includes.h +++ b/includes.h @@ -51,6 +51,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #ifdef HAVE_GETOPT_H # include <getopt.h> #endif +#ifndef HAVE_GETOPT_OPTRESET +#define getopt(ac, av, o) BSDgetopt(ac, av, o) +#endif #ifdef HAVE_BSTRING_H # include <bstring.h> #endif |