Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditionally include linux/udp.h (#2894)
### Motivation: To enable access to `UDP_MAX_SEGMENTS` we switched from including `netinet/udp.h` to including `linux/udp.h` however the latter isn't available in MUSL. ### Modifications: if `linux/udp.h` is available then import it in favor of `netinet/udp.h`. If we fall back to the latter then `UDP_MAX_SEGMENTS` won't be defined but that will be caught by the existing paths which account for this case. ### Result: NIO should be able to build against a static MUSL SDK again.
- Loading branch information