summaryrefslogtreecommitdiff
path: root/src/libstddjb
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 16:19:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 16:19:27 +0000
commit61c1f79bcace61c650edd09fc4424c2d08fbf79e (patch)
tree5fc3b65801b48b13e41780d271eec6ec38f104e5 /src/libstddjb
parent6f1f48e93fb6e09d68ca75e315f3cbd71e42d540 (diff)
downloadskalibs-61c1f79bcace61c650edd09fc4424c2d08fbf79e.tar.xz
Include grp.h for setgroups definition
Diffstat (limited to 'src/libstddjb')
-rw-r--r--src/libstddjb/setgroups.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstddjb/setgroups.c b/src/libstddjb/setgroups.c
index 0bcda12..c7610ab 100644
--- a/src/libstddjb/setgroups.c
+++ b/src/libstddjb/setgroups.c
@@ -7,6 +7,7 @@
#include <skalibs/nonposix.h>
#include <string.h>
#include <unistd.h>
+#include <grp.h>
#include <skalibs/setgroups.h>
int setgroups_with_egid (size_t n, gid_t const *tab)