xcode升极到13.2.1,编译usrsctp时报错。
Compile user_environment.c (arm64)
type 'struct inpcb' has incompatible definitions in different translation units
in file included from /Users/ancientcc/ddksample/external/usrsctplib/user_environment.c:40
in file included from ../../../external/usrsctplib/netinet/sctp_os_userspace.h:469
field has name 'inp_list' here
field has name 'reserved1' here
没改过usrsctp源码,用之前的xcode版本编译,没问题。