提交 0738e6c1 编写于 作者: A A. Wilcox 提交者: Rich Felker

add uapi guards for new netinet/ip.h conflict with struct iphdr

This ensures that the musl definition of 'struct iphdr' does not conflict
with the Linux kernel UAPI definition of it.

Some software, i.e. net-tools, will not compile against 5.4 kernel headers
without this patch and the corresponding Linux kernel patch.
上级 1e7f0fcd
......@@ -190,6 +190,8 @@ struct ip_timestamp {
#define IP_MSS 576
#define __UAPI_DEF_IPHDR 0
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册