summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/replace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index 90f05d6c90..415ea2f129 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/lib/replace/replace.c
@@ -200,6 +200,9 @@ Corrections by richard.kettlewell@kewill.com
errno = ENOSYS;
return -1;
#else /* HAVE_SETGROUPS */
+
+#include <grp.h>
+
gid_t *grouplst = NULL;
int max_gr = groups_max();
int ret;