X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4acbfa2ade4b81fbc5af5bc30f97b9feb9a40545..e0ed4e4087ebeff0b0fe8f3419bcccf84fbd89a9:/getgroups.c diff --git a/getgroups.c b/getgroups.c index 7d681d16..b3202c3b 100644 --- a/getgroups.c +++ b/getgroups.c @@ -26,7 +26,13 @@ #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];