Add include for setgroups() on Linux

This commit is contained in:
Erik Ekman 2008-07-12 12:20:35 +00:00 committed by Erik Ekman
parent f70d16403e
commit 03a0ccbca0
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <fcntl.h> #include <fcntl.h>
#include <err.h> #include <err.h>
#include <grp.h>
#include <pwd.h> #include <pwd.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <zlib.h> #include <zlib.h>

View File

@ -25,6 +25,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <fcntl.h> #include <fcntl.h>
#include <err.h> #include <err.h>
#include <grp.h>
#include <time.h> #include <time.h>
#include <pwd.h> #include <pwd.h>
#include <arpa/inet.h> #include <arpa/inet.h>