diff options
author | Tim Rice <tim@multitalents.net> | 2001-09-17 14:34:33 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2001-09-17 14:34:33 -0700 |
commit | a4f7ae1a35b5da61705bea75bcc50bc7a27726dd (patch) | |
tree | 366ca694b41098a5808d5e584244241dacba921a /includes.h | |
parent | c3bd7eccac2c9d087dd23ab4929d423414d3f18e (diff) |
- (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 } | |||
51 | #ifdef HAVE_GETOPT_H | 51 | #ifdef HAVE_GETOPT_H |
52 | # include <getopt.h> | 52 | # include <getopt.h> |
53 | #endif | 53 | #endif |
54 | #ifndef HAVE_GETOPT_OPTRESET | ||
55 | #define getopt(ac, av, o) BSDgetopt(ac, av, o) | ||
56 | #endif | ||
54 | #ifdef HAVE_BSTRING_H | 57 | #ifdef HAVE_BSTRING_H |
55 | # include <bstring.h> | 58 | # include <bstring.h> |
56 | #endif | 59 | #endif |