X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/40ae4f93a079ed71e491e6d51914d6d663ea3f10..25ff04417e4b4fa0aeb44e0b1576a01021aa1650:/getgroups.c diff --git a/getgroups.c b/getgroups.c index 6a8fac2e..6b4259d7 100644 --- a/getgroups.c +++ b/getgroups.c @@ -34,7 +34,7 @@ main(UNUSED(int argc), UNUSED(char *argv[])) gid_t gid = MY_GID(); int gid_in_list = 0; -#ifdef HAVE_GETGROUPS +#if HAVE_GETGROUPS if ((n = getgroups(0, NULL)) < 0) { perror("getgroups"); return 1; @@ -49,7 +49,7 @@ main(UNUSED(int argc), UNUSED(char *argv[])) exit(1); } -#ifdef HAVE_GETGROUPS +#if HAVE_GETGROUPS if (n > 0) n = getgroups(n, list); #endif