add uapi guards for new netinet/ip.h conflict with struct iphdr
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Sun, 22 Dec 2019 06:06:47 +0000 (00:06 -0600)
committerRich Felker <dalias@aerifal.cx>
Sun, 22 Dec 2019 17:45:48 +0000 (12:45 -0500)
commit0738e6c19fb03d11ee55637b75171fc9f8287572
tree18f1e7f7cd90fa36a01c3e49a64a88d8fbfb4b2e
parent1e7f0fcd7ff2096904fd93a2ee6d12a2392be392
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.
include/netinet/ip.h