summaryrefslogtreecommitdiff
path: root/getgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'getgroups.c')
-rw-r--r--getgroups.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/getgroups.c b/getgroups.c
index 7d681d16..e747c290 100644
--- a/getgroups.c
+++ b/getgroups.c
@@ -26,6 +26,11 @@
#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;