Define NGROUPS if not already done.
[rsync/rsync.git] / getgroups.c
index 7d681d1..e747c29 100644 (file)
 
 #include "rsync.h"
 
+#ifndef NGROUPS
+/* It ought to be defined, but just in case. */
+#  define NGROUPS 32
+#endif
+
 int main(int argc, char *argv[])
 {
        int n, i;