projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c3d90e
)
Added #include <grp.h>. It's needed on Linux, should be harmless on others.
author
David Levine
<levinedl@acm.org>
Wed, 11 Jan 2012 22:45:53 +0000
(16:45 -0600)
committer
David Levine
<levinedl@acm.org>
Wed, 11 Jan 2012 22:45:53 +0000
(16:45 -0600)
uip/slocal.c
patch
|
blob
|
history
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
13d0511
..
44e5988
100644
(file)
--- a/
uip/slocal.c
+++ b/
uip/slocal.c
@@
-34,6
+34,10
@@
#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