mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
d5225a693b
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. |
||
---|---|---|
.. | ||
arphdr.h | ||
arpreq.h | ||
cmsghdr.h | ||
cmsghdr.internal.h | ||
ether_header.h | ||
ifconf.h | ||
ifreq.h | ||
in6_pktinfo.h | ||
in_pktinfo.h | ||
ip_mreq.h | ||
ipv6_mreq.h | ||
linger.h | ||
msghdr.h | ||
msghdr.internal.h | ||
pollfd.h | ||
pollfd.internal.h | ||
sockaddr.h | ||
sockaddr.internal.h | ||
sockaddr6-bsd.internal.h | ||
sockaddr6.h |