test-getgroups: avoid compilation failure
authorJim Meyering <meyering@redhat.com>
Fri, 13 Nov 2009 15:15:23 +0000 (16:15 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sun, 15 Nov 2009 03:13:40 +0000 (03:13 +0000)
* tests/test-getgroups.c: Include <stdint.h> for use of SIZE_MAX.
(cherry picked from commit 0173b1e598b66fc95f4cf3af023313e29701e384)

ChangeLog
tests/test-getgroups.c

index 76f78e3..2489264 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-13  Jim Meyering  <meyering@redhat.com>
+
+       test-getgroups: avoid compilation failure
+       * tests/test-getgroups.c: Include <stdint.h> for use of SIZE_MAX.
+
 2009-11-13  Eric Blake  <ebb9@byu.net>
 
        getgroups, getugroups: provide stubs for mingw
index 5324df1..8ecfb96 100644 (file)
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #define ASSERT(expr) \
   do                                                                         \