From 5390af1423eab9623205ddd259668ca123c07dd7 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 13 Nov 2009 09:06:14 -0700 Subject: [PATCH] getgroups: avoid compilation failure * lib/getgroups.c (includes): Include for SIZE_MAX. * modules/getgroups (Depends-on): Add stdint. Signed-off-by: Eric Blake (cherry picked from commit f3a2c4aaa9ad3ed11c1437cdce8ae172fd273a1f) --- ChangeLog | 6 ++++++ lib/getgroups.c | 1 + modules/getgroups | 1 + 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 24892644b..7d02121b7 100644 --- 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 index bad676ea5..9c0d6f7e4 100644 --- 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 index 8ecbbdd49..aabcefc5c 100644 --- a/modules/getgroups +++ b/modules/getgroups @@ -7,6 +7,7 @@ m4/getgroups.m4 Depends-on: malloc-posix +stdint unistd configure.ac: -- 2.11.0