summaryrefslogtreecommitdiff
path: root/source4/include/system
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/system')
-rw-r--r--source4/include/system/passwd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/system/passwd.h b/source4/include/system/passwd.h
index 215f53d138..901b1b92f2 100644
--- a/source4/include/system/passwd.h
+++ b/source4/include/system/passwd.h
@@ -64,3 +64,7 @@ int initgroups(char *name,gid_t id);
#define crypt ufc_crypt
#endif
+
+#ifndef NGROUPS_MAX
+#define NGROUPS_MAX 32 /* Guess... */
+#endif