This commit adds definitions for setgrent, endgrent, and getgrent which were missing (but available for FreeBSD and other *nix systems).