Skip to content

Fix FreeBSD 13.5 build error - Using s6_addr struct#57

Open
devnull-hub-lab wants to merge 1 commit into
jvdmr:mainfrom
devnull-hub-lab:main
Open

Fix FreeBSD 13.5 build error - Using s6_addr struct#57
devnull-hub-lab wants to merge 1 commit into
jvdmr:mainfrom
devnull-hub-lab:main

Conversation

@devnull-hub-lab
Copy link
Copy Markdown

Using s6_addr struct, in compliance with RFC 2553 and 3493 – also POSIX 1003.1-2017

This solves build issues on FreeBSD 13.5
In FreeBSD < 14.1, the 's6_addr32' structure inside /usr/include/netinet6/in6.h is not exposed to userland.
So, its safe to use s6_addr instead (s6_addr is the only in6_addr element specified in RFC 2553 and 3493 – also POSIX 1003.1-2017)

@laffer1
Copy link
Copy Markdown

laffer1 commented Dec 31, 2025

this would be helpful for other operating systems. I just reluctantly merged the s6_addr32 exposure to userland for MidnightBSD but the current release does not have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants