summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2022-05-02 11:25:43 +1200
committerRobert Ancell <robert.ancell@canonical.com>2022-05-02 11:25:43 +1200
commit6f40639f4d735333c05fe076704ad2b3e95923c7 (patch)
tree968179e30d73f339cf3dc3c4bae5b98661b74c1d /tests/src
parent7c0d356ab196c9a1f40d52dbb611900e37c52b88 (diff)
downloadlightdm-git-6f40639f4d735333c05fe076704ad2b3e95923c7.tar.gz
Add __getgroups_chk prototype to fix build failures on some systems
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/libsystem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c
index 687f1fdd..81d367d9 100644
--- a/tests/src/libsystem.c
+++ b/tests/src/libsystem.c
@@ -128,6 +128,7 @@ getgroups (int size, gid_t list[])
}
#ifdef HAVE___GETGROUPS_CHK
+int __getgroups_chk (int size, gid_t list[], size_t listlen);
int
__getgroups_chk (int size, gid_t list[], size_t listlen)
{