Skip to content

Conversation

@Totto16
Copy link
Contributor

@Totto16 Totto16 commented Oct 22, 2024

On MUSL libc, the sockaddr_in6 struct is not the same as on glibc, unfortunately, the inner structure of the struct isn't mandated by POSIX 😓

Edit: But there is a "public interface", that works on both glibc and musl, thanks to @r00tifant for knowing that

I needed this for Totto16/oopetris_lobby@6de856d and OpenBrickProtocolFoundation/lobby#5 so that docker image can be built,

NOTE: after this is merged 🙏🏼 simulator needs to be updated as well, as this is a sub depedendency there and thats the main reason for updating this.

this is compatible to musl and glibc, which it wasn't previously
@mgerhold
Copy link
Owner

I added the desired changes and created a new PR (see here). I will close this one. Thanks for you help! <3

@mgerhold mgerhold closed this Oct 26, 2024
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