Fix __gid_t_defined and __uid_t_define single definition ("once") handling.
Add id_t from FreeBSD headers, which is e.g. used by libarchive
Merge pull request #784 from LCID-Fire/id_t_fix

Id t fix