The branch, master has been updated via 23ddfd3b03e lib/util: Include grp.h for setgroups during autoconf from a7071565b01 ctdb: Include replace.h for PATH_MAX
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 23ddfd3b03e491fbfc153e1e24fbd232d9aa1167 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Wed Nov 6 00:57:37 2024 +0100 lib/util: Include grp.h for setgroups during autoconf Otherwise setresuid and friends don't get detected on GNU/Hurd because the inclusion of <grp.h> is missing for the declaration of setgroups. Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> Reviewed-by: Volker Lendecke <v...@samba.org> Reviewed-by: Ralph Boehme <s...@samba.org> Autobuild-User(master): Volker Lendecke <v...@samba.org> Autobuild-Date(master): Mon Nov 11 12:51:17 UTC 2024 on atb-devel-224 ----------------------------------------------------------------------- Summary of changes: lib/util/setid.c | 3 +++ 1 file changed, 3 insertions(+) Changeset truncated at 500 lines: diff --git a/lib/util/setid.c b/lib/util/setid.c index 10014618def..6447909a5f3 100644 --- a/lib/util/setid.c +++ b/lib/util/setid.c @@ -43,6 +43,9 @@ #ifdef HAVE_SYS_ID_H #include <sys/id.h> #endif +#ifdef HAVE_GRP_H +#include <grp.h> +#endif /* autoconf tests don't include setid.h */ int samba_setresuid(uid_t ruid, uid_t euid, uid_t suid); -- Samba Shared Repository