Add netinet/in.h for struct sockaddr_in

Sponsored by: EMC / Isilon Storage Division
Expect getgroups_err to fail on FreeBSD

PR: 189941
Submitted by: pho
Sponsored by: EMC / Isilon Storage Division