# HG changeset patch # User Eric Blake # Date 1258128374 25200 # Node ID b49120535c363c58ab6f973bd4c1514145e07cae # Parent 533256aed7f24faa4835942b077cab83ee265375 getgroups: avoid compilation failure * lib/getgroups.c (includes): Include for SIZE_MAX. * modules/getgroups (Depends-on): Add stdint. Signed-off-by: Eric Blake diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-11-13 Eric Blake + + getgroups: avoid compilation failure + * lib/getgroups.c (includes): Include for SIZE_MAX. + * modules/getgroups (Depends-on): Add stdint. + 2009-11-13 Jim Meyering test-getgroups: avoid compilation failure diff --git a/lib/getgroups.c b/lib/getgroups.c --- a/lib/getgroups.c +++ b/lib/getgroups.c @@ -24,6 +24,7 @@ #include #include +#include #if !HAVE_GETGROUPS diff --git a/modules/getgroups b/modules/getgroups --- a/modules/getgroups +++ b/modules/getgroups @@ -7,6 +7,7 @@ Depends-on: malloc-posix +stdint unistd configure.ac: