Some platforms don't know sa_family_t or define it other than uint16_t.