From 71cd8e3a743046573744123777061b64881bf372 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 4 Jul 2015 17:13:50 +0300 Subject: Imported Upstream version 8.24 --- lib/getugroups.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/getugroups.c') diff --git a/lib/getugroups.c b/lib/getugroups.c index d6634baf..7c6d34c9 100644 --- a/lib/getugroups.c +++ b/lib/getugroups.c @@ -1,6 +1,6 @@ /* getugroups.c -- return a list of the groups a user is in - Copyright (C) 1990-1991, 1998-2000, 2003-2014 Free Software Foundation, Inc. + Copyright (C) 1990-1991, 1998-2000, 2003-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,10 +27,13 @@ #include #include -#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 but it isn't actually + defined in the library. */ int getugroups (int maxcount _GL_UNUSED, -- cgit v1.2.3