summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/defines.h b/defines.h
index 1f52c545c..90825f6b9 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.90 2002/06/07 03:19:36 mouring Exp $ */ 4/* $Id: defines.h,v 1.91 2002/06/22 00:27:00 mouring Exp $ */
5 5
6 6
7/* Constants */ 7/* Constants */
@@ -417,7 +417,18 @@ struct winsize {
417#endif 417#endif
418 418
419#ifndef HAVE_GETOPT_OPTRESET 419#ifndef HAVE_GETOPT_OPTRESET
420#define getopt(ac, av, o) BSDgetopt(ac, av, o) 420# undef getopt
421# undef opterr
422# undef optind
423# undef optopt
424# undef optreset
425# undef optarg
426# define getopt(ac, av, o) BSDgetopt(ac, av, o)
427# define opterr BSDopterr
428# define optind BSDoptind
429# define optopt BSDoptopt
430# define optreset BSDoptreset
431# define optarg BSDoptarg
421#endif 432#endif
422 433
423/* In older versions of libpam, pam_strerror takes a single argument */ 434/* In older versions of libpam, pam_strerror takes a single argument */