mirror of
git://git.musl-libc.org/musl
synced 2025-01-25 08:03:04 +00:00
fdaaa68d82
there are two versions of this structure: the BSD version and the GNU version. previously only the GNU version was supported. the only way to support both simultaneously is with an anonymous union, which was a nonstandard extension prior to C11, so some effort is made to avoid breakage with compilers which do not support anonymous unions. this commit is based on a patch by Timo Teräs, but with some changes. in particular, the GNU version of the structure is not exposed unless _GNU_SOURCE is defined; this both avoids namespace pollution and dependency on anonymous unions in the default feature profile. |
||
---|---|---|
.. | ||
ether.h | ||
icmp6.h | ||
if_ether.h | ||
igmp.h | ||
in_systm.h | ||
in.h | ||
ip6.h | ||
ip_icmp.h | ||
ip.h | ||
tcp.h | ||
udp.h |