include grp.h (linux only) in bsd-compat.h rather than in aucat.c

This commit is contained in:
Alexandre Ratchov 2010-09-17 10:36:54 +02:00
parent d7e18f5097
commit 52a88805d0
2 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,6 @@
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>
#include <signal.h>

View File

@ -20,6 +20,11 @@
#endif
#endif
/*
* setgroups(2) is defined here, on linux
*/
#include <grp.h>
/*
* prototypes of these don't hurt
*/