cosmopolitan/libc/sock/struct
Ivan Komarov d5225a693b
libc headers: make <complex.h> work, add struct ipv6_mreq (#1100)
1. `libc/isystem/complex.h` (included when you do `#include <complex.h>`)
   defines `_COMPLEX_H`, and then proceeds to include `libc/complex.h`,
   which contains the actual complex-related declarations. However, they
   are *also* guarded by `_COMPLEX_H` and hence effectively ignored.
   Fix this by changing `_COMPLEX_H` to `COSMOPOLITAN_LIBC_COMPLEX_H_`,
   which is consistent with what the other headers (such as `math.h`) do.
2. Cosmopolitan could only support IPv4 multicast requests for sockets,
   since a declaration for `struct ipv6_mreq` was missing. Add support
   for IPv6, too, by adding the missing declaration.
2024-02-05 17:22:56 -05:00
..
arphdr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
arpreq.h Reduce header complexity 2023-11-28 14:39:42 -08:00
cmsghdr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
cmsghdr.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ether_header.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ifconf.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ifreq.h Add libresolv from Musl Libc 2023-12-08 20:04:10 -08:00
in6_pktinfo.h Reduce header complexity 2023-11-28 14:39:42 -08:00
in_pktinfo.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ip_mreq.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ipv6_mreq.h libc headers: make <complex.h> work, add struct ipv6_mreq (#1100) 2024-02-05 17:22:56 -05:00
linger.h Reduce header complexity 2023-11-28 14:39:42 -08:00
msghdr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
msghdr.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pollfd.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pollfd.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sockaddr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sockaddr.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sockaddr6-bsd.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sockaddr6.h Make improvements 2024-01-29 16:31:58 -08:00