diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-08-08 11:23:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-08-08 11:23:06 +0000 |
commit | d2c2170ec527d8c5ad4829fe91135180ff6e36d2 (patch) | |
tree | 6f37c46d7a021b6a89c5a4be6148ed8cc9722788 | |
parent | 2f0bd366a3e4155d49298397e1583296f4852c8c (diff) | |
download | tipidee-d2c2170ec527d8c5ad4829fe91135180ff6e36d2.tar.xz |
glibc declares setgroups() in grp.h
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/tipideed/harden.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ *.o -*.a +*.a.xyzzy *.lo *.so *.so.* 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> |