X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4acbfa2ade4b81fbc5af5bc30f97b9feb9a40545..067669dac74abfa2acaaef6b1d078d861814e100:/getgroups.c diff --git a/getgroups.c b/getgroups.c index 7d681d16..78e2a88f 100644 --- a/getgroups.c +++ b/getgroups.c @@ -26,7 +26,12 @@ #include "rsync.h" -int main(int argc, char *argv[]) +#ifndef NGROUPS +/* It ought to be defined, but just in case. */ +# define NGROUPS 32 +#endif + +int main(UNUSED(int argc), UNUSED(char *argv[])) { int n, i; gid_t list[NGROUPS];