diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-19 03:01:56 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-19 03:01:56 +0000 |
commit | 6cabb6fd6c8bdc1afa0d0e93614fdc512d2c4c25 (patch) | |
tree | d3f7ff3756eebb10d51692155ef253c7630b73c7 /openbsd-compat/bsd-nextstep.h | |
parent | d19a75abd0dc0487f9b6235b55a736f0386481c3 (diff) |
- Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix
stuff. Change suggested by Mark Miller <markm@swoon.net>
Diffstat (limited to 'openbsd-compat/bsd-nextstep.h')
-rw-r--r-- | openbsd-compat/bsd-nextstep.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-nextstep.h b/openbsd-compat/bsd-nextstep.h index 1121d4d16..674fbbfe3 100644 --- a/openbsd-compat/bsd-nextstep.h +++ b/openbsd-compat/bsd-nextstep.h | |||
@@ -21,7 +21,7 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* $Id: bsd-nextstep.h,v 1.4 2001/02/13 02:18:50 mouring Exp $ */ | 24 | /* $Id: bsd-nextstep.h,v 1.5 2001/03/19 03:01:57 mouring Exp $ */ |
25 | 25 | ||
26 | #ifndef _NEXT_POSIX_H | 26 | #ifndef _NEXT_POSIX_H |
27 | #define _NEXT_POSIX_H | 27 | #define _NEXT_POSIX_H |
@@ -29,6 +29,9 @@ | |||
29 | #ifdef HAVE_NEXT | 29 | #ifdef HAVE_NEXT |
30 | #include <sys/dir.h> | 30 | #include <sys/dir.h> |
31 | 31 | ||
32 | /* NGROUPS_MAX is behind -lposix. Use the BSD version which is NGROUPS */ | ||
33 | #define NGROUPS_MAX NGROUPS | ||
34 | |||
32 | /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ | 35 | /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ |
33 | #define dirent direct | 36 | #define dirent direct |
34 | 37 | ||