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

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/getgroups.c
modules/getgroups

index ff6dd0ecf04e14bec27ea552e3086be19af453de..44e2120ac15066624ba97bdc2cd6ef3fab865123 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 e4540fe9b722d70cd1d8a0a8fc65bc9971009969..bb2b38dbfa22656ef75b9224d9f8c65f4da47150 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #if !HAVE_GETGROUPS
 
index 8ecbbdd4935a3ffad9963e294d969d891047e0c3..aabcefc5cc5a5b5e9d906cf33e1bfea51b4813ef 100644 (file)
@@ -7,6 +7,7 @@ m4/getgroups.m4
 
 Depends-on:
 malloc-posix
+stdint
 unistd
 
 configure.ac: