Define NGROUPS if not already done.
authorMartin Pool <mbp@samba.org>
Mon, 25 Mar 2002 03:18:36 +0000 (03:18 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 25 Mar 2002 03:18:36 +0000 (03:18 +0000)
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;