summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-nextstep.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-19 03:01:56 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-19 03:01:56 +0000
commit6cabb6fd6c8bdc1afa0d0e93614fdc512d2c4c25 (patch)
treed3f7ff3756eebb10d51692155ef253c7630b73c7 /openbsd-compat/bsd-nextstep.h
parentd19a75abd0dc0487f9b6235b55a736f0386481c3 (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.h5
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