How about including <sys/types.h> before including
<grp.h> in src/backend/utils/init/findbe.c?
I've just compiled 7.2 on FreeBSD-current, which has failed
with compilation error because the type of gr_gid in struct group
is gid_t on FreeBSD-current.
cheers,
hiro hanai