X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4acbfa2ade4b81fbc5af5bc30f97b9feb9a40545..f69204adad8d9fc3538d510fa88079e4c890eef8:/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];