mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
808b6a73f9
%ci:no-build
16 lines
421 B
Diff
16 lines
421 B
Diff
https://github.com/termux/termux-packages/issues/15852
|
|
|
|
--- a/source3/lib/system_smbd.c
|
|
+++ b/source3/lib/system_smbd.c
|
|
@@ -166,6 +166,10 @@
|
|
return ret;
|
|
}
|
|
#endif /* HAVE_GETGRSET */
|
|
+#else /* HAVE_GETGROUPLIST */
|
|
+#ifdef __ANDROID__
|
|
+int getgrouplist(const char *, gid_t, gid_t *, int *);
|
|
+#endif
|
|
#endif /* HAVE_GETGROUPLIST */
|
|
|
|
static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grpcnt)
|