summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--defines.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 73b4a6973..c69e437f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20010105
+ - (bal) Disable groupaccess by setting NGROUP_MAX to 0 for platforms
+ that don't have NGROUP_MAX.
+
20010104
- (bal) I think this is the last of the bsd-*.h that don't belong.
- (bal) Minor Makefile fix
diff --git a/defines.h b/defines.h
index 087ad2af0..51fd7b3e0 100644
--- a/defines.h
+++ b/defines.h
@@ -89,6 +89,10 @@ enum
# define STDERR_FILENO 2
#endif
+#ifndef NGROUP_MAX /* Disable groupaccess if NGROUP_MAX is not set */
+#define NGROUP_MAX 0
+#endif
+
#ifndef O_NONBLOCK /* Non Blocking Open */
# define O_NONBLOCK 00004
#endif