add additional uapi guards for Linux kernel header files
With Linux kernel 4.16 it will be possible to guard more parts of the Linux header files from a libc. Make use of this in musl to guard all the structures and other definitions from the Linux header files which are also defined by the header files provided by musl. This will make it possible to compile source files which include both the libc headers and the kernel userspace headers. This extends the definitions done in commit 04983f22 ("make netinet/in.h suppress clashing definitions from kernel headers")
Showing
想要评论请 注册 或 登录