* lib/getugroups.c: Don't reference unsupported {get,set,end}grent
functions.
localename: Fix Android build
* modules/localename (Depends-on): Add langinfo.
+ getugroups: Fix Android build
+ * lib/getugroups.c: Don't reference unsupported {get,set,end}grent
+ functions.
+
2015-02-08 Daiki Ueno <ueno@gnu.org>
uniname/unimame-tests: don't link with -lunistring
#include <string.h>
#include <unistd.h>
-#if !HAVE_GRP_H
+#if !HAVE_GRP_H || defined __ANDROID__
/* Mingw lacks all things related to group management. The best we
- can do is fail with ENOSYS. */
+ can do is fail with ENOSYS.
+
+ Bionic declares e.g. getgrent() in <grp.h> but it isn't actually
+ defined in the library. */
int
getugroups (int maxcount _GL_UNUSED,