Author: paulg
Date: 2006-05-01 20:57:15 +0000 (Mon, 01 May 2006)
New Revision: 15382

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15382

Log:
Use grp.h in this block; it has been cleaned out of the other headers that 
formerly included it for us.

Paul

Modified:
   branches/SAMBA_4_0/source/lib/replace/replace.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/replace.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.c     2006-05-01 20:13:25 UTC 
(rev 15381)
+++ branches/SAMBA_4_0/source/lib/replace/replace.c     2006-05-01 20:57:15 UTC 
(rev 15382)
@@ -200,6 +200,9 @@
        errno = ENOSYS;
        return -1;
 #else /* HAVE_SETGROUPS */
+
+#include <grp.h>
+
        gid_t *grouplst = NULL;
        int max_gr = groups_max();
        int ret;

Reply via email to