getgroups: fix compilation when getgroups is available
authorEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 11:36:20 +0000 (05:36 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 11:48:09 +0000 (05:48 -0600)
commit4bf4867ea51b59673a9118c66c3ee2cfd8e71d91
tree56ff399bcc8a3138c87a58fde7913ef75aca24d3
parentaa087a665ac755fb932610ba6ade2e7af7aeff9d
getgroups: fix compilation when getgroups is available

* lib/getgroups.c (includes): Include <unistd.h> for getgroups,
but with <config.h> override of getgroups disabled.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/getgroups.c