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 ff6dd0e..44e2120 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 e4540fe..bb2b38d 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: