In xCode 18.1 use #include <sys/_types/_sa_family_t.h>
_types folder added between sys and file_name.h