|
Message-Id: <20191222060646.7809-1-AWilcox@Wilcox-Tech.com> Date: Sun, 22 Dec 2019 00:06:47 -0600 From: "A. Wilcox" <AWilcox@...cox-Tech.com> To: musl@...ts.openwall.com Cc: "A. Wilcox" <AWilcox@...cox-Tech.com> Subject: [PATCH] netinet/ip.h: Add UAPI definition guard for 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. --- include/netinet/ip.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/netinet/ip.h b/include/netinet/ip.h index 8b6d7fef..0ae132a5 100644 --- a/include/netinet/ip.h +++ b/include/netinet/ip.h @@ -190,6 +190,8 @@ struct ip_timestamp { #define IP_MSS 576 +#define __UAPI_DEF_IPHDR 0 + #ifdef __cplusplus } #endif -- 2.22.1
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.