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) | |
download | openssh-git-6cabb6fd6c8bdc1afa0d0e93614fdc512d2c4c25.tar.gz |
- 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 1121d4d1..674fbbfe 100644 --- a/openbsd-compat/bsd-nextstep.h +++ b/openbsd-compat/bsd-nextstep.h @@ -21,7 +21,7 @@ * */ -/* $Id: bsd-nextstep.h,v 1.4 2001/02/13 02:18:50 mouring Exp $ */ +/* $Id: bsd-nextstep.h,v 1.5 2001/03/19 03:01:57 mouring Exp $ */ #ifndef _NEXT_POSIX_H #define _NEXT_POSIX_H @@ -29,6 +29,9 @@ #ifdef HAVE_NEXT #include <sys/dir.h> +/* NGROUPS_MAX is behind -lposix. Use the BSD version which is NGROUPS */ +#define NGROUPS_MAX NGROUPS + /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ #define dirent direct |