]> granicus.if.org Git - sudo/commitdiff
setgroups() proto lives in grp.h on RHEL4, perhaps others.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 23 Aug 2011 14:14:52 +0000 (10:14 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 23 Aug 2011 14:14:52 +0000 (10:14 -0400)
common/setgroups.c

index c469d20b3fd4e0fc677d0f43579fe9ed08a330d2..2c42816f1734d673ec8449d4cf1e7edbfa417c35 100644 (file)
@@ -32,6 +32,7 @@
 # include <unistd.h>
 #endif /* HAVE_UNISTD_H */
 #include <errno.h>
+#include <grp.h>
 #include <limits.h>
 
 #include "missing.h"