summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorPaul Green <paulg@samba.org>2006-05-01 20:57:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:30 -0500
commitec83aa3fda3de99e1a58292af1302c42376c8739 (patch)
tree19faacb060c34b586b864868a8581fe56f20e5a1 /source4
parent8b98023d85dc13695a9685affb303613b8b038a3 (diff)
downloadsamba-ec83aa3fda3de99e1a58292af1302c42376c8739.tar.gz
samba-ec83aa3fda3de99e1a58292af1302c42376c8739.tar.bz2
samba-ec83aa3fda3de99e1a58292af1302c42376c8739.zip
r15382: Use grp.h in this block; it has been cleaned out of the other headers that formerly included it for us.
Paul (This used to be commit a4d706cf26382820b58940458f8873a4f8f79612)
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;