getgroups: avoid compilation failure
authorEric Blake <ebb9@byu.net>
Fri, 13 Nov 2009 16:06:14 +0000 (09:06 -0700)
committerIan Beckwith <ianb@erislabs.net>
Sun, 15 Nov 2009 03:13:59 +0000 (03:13 +0000)
* lib/getgroups.c (includes): Include <stdint.h> for SIZE_MAX.
* modules/getgroups (Depends-on): Add stdint.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit f3a2c4aaa9ad3ed11c1437cdce8ae172fd273a1f)

ChangeLog
lib/getgroups.c
modules/getgroups

index 2489264..7d02121 100644 (file)
--- 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
index bad676e..9c0d6f7 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #if !HAVE_GETGROUPS
 
index 8ecbbdd..aabcefc 100644 (file)
@@ -7,6 +7,7 @@ m4/getgroups.m4
 
 Depends-on:
 malloc-posix
+stdint
 unistd
 
 configure.ac: