From 6cabb6fd6c8bdc1afa0d0e93614fdc512d2c4c25 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 19 Mar 2001 03:01:56 +0000 Subject: - Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix stuff. Change suggested by Mark Miller --- ChangeLog | 4 +++- openbsd-compat/bsd-nextstep.h | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 48002a7b..1e72a739 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ - (djm) Make scp work on systems without 64-bit ints - tim@mindrot.org 2001/03/18 18:28:39 [defines.h] move HAVE_LONG_LONG_INT where it works + - Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix + stuff. Change suggested by Mark Miller 20010318 - (bal) Fixed scp type casing issue which causes "scp: protocol error: @@ -4608,4 +4610,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.976 2001/03/19 02:27:26 tim Exp $ +$Id: ChangeLog,v 1.977 2001/03/19 03:01:56 mouring Exp $ 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 +/* 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 -- cgit v1.2.3