r15382: Use grp.h in this block; it has been cleaned out of the other headers that...
authorPaul Green <paulg@samba.org>
Mon, 1 May 2006 20:57:15 +0000 (20:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:30 +0000 (14:05 -0500)
Paul
(This used to be commit a4d706cf26382820b58940458f8873a4f8f79612)

source4/lib/replace/replace.c

index 90f05d6c907bdce9761c6b4357f938024bbb1f0f..415ea2f129db5828e2b59fc129ad6cfffbf799a0 100644 (file)
@@ -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;