changeset 12283:b49120535c36

getgroups: avoid compilation failure * lib/getgroups.c (includes): Include <stdint.h> for SIZE_MAX. * modules/getgroups (Depends-on): Add stdint. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Fri, 13 Nov 2009 09:06:14 -0700
parents 533256aed7f2
children fcf83d7e45e4
files ChangeLog lib/getgroups.c modules/getgroups
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-13  Eric Blake  <ebb9@byu.net>
+
+	getgroups: avoid compilation failure
+	* lib/getgroups.c (includes): Include <stdint.h> for SIZE_MAX.
+	* modules/getgroups (Depends-on): Add stdint.
+
 2009-11-13  Jim Meyering  <meyering@redhat.com>
 
 	test-getgroups: avoid compilation failure
--- a/lib/getgroups.c
+++ b/lib/getgroups.c
@@ -24,6 +24,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #if !HAVE_GETGROUPS
 
--- a/modules/getgroups
+++ b/modules/getgroups
@@ -7,6 +7,7 @@
 
 Depends-on:
 malloc-posix
+stdint
 unistd
 
 configure.ac: