From: Martin Pool Date: Mon, 25 Mar 2002 03:18:36 +0000 (+0000) Subject: Define NGROUPS if not already done. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/12b159ac4110e23553e94c805b8a121944f47698 Define NGROUPS if not already done. --- 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;