]> git.marmaro.de Git - mmh/commitdiff
Added #include <grp.h>. It's needed on Linux, should be harmless on others.
authorDavid Levine <levinedl@acm.org>
Wed, 11 Jan 2012 22:45:53 +0000 (16:45 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 11 Jan 2012 22:45:53 +0000 (16:45 -0600)
uip/slocal.c

index 13d05116c2668e808204e2df8f80b2b3d1e28f5c..44e5988d0194f8a7314a69b1ab76941f4c217e93 100644 (file)
 #include <sys/ioctl.h>
 #include <fcntl.h>
 
+/* Hopefully, grp.h declares initgroups().  If we run into a platform
+   where it doesn't, we could consider declaring it here as well. */
+#include <grp.h>
+
 /* This define is needed for Berkeley db v2 and above to
  * make the header file expose the 'historical' ndbm APIs.
  * We define it unconditionally because this is simple and