summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-08-08 11:23:06 +0000
committerLaurent Bercot <ska@appnovation.com>2023-08-08 11:23:06 +0000
commitd2c2170ec527d8c5ad4829fe91135180ff6e36d2 (patch)
tree6f37c46d7a021b6a89c5a4be6148ed8cc9722788 /src
parent2f0bd366a3e4155d49298397e1583296f4852c8c (diff)
downloadtipidee-d2c2170ec527d8c5ad4829fe91135180ff6e36d2.tar.xz
glibc declares setgroups() in grp.h
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r--src/tipideed/harden.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tipideed/harden.c b/src/tipideed/harden.c
index 5c925f2..516eefb 100644
--- a/src/tipideed/harden.c
+++ b/src/tipideed/harden.c
@@ -6,6 +6,9 @@
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
+#ifdef SKALIBS_HASSETGROUPS
+#include <grp.h>
+#endif
#include <skalibs/types.h>
#include <skalibs/strerr.h>