mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
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.thibault@ens-lyon.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Nov 11 12:51:17 UTC 2024 on atb-devel-224
This commit is contained in:
parent
a7071565b0
commit
23ddfd3b03
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user