-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haiku - mismatched socket types #108
Comments
Confirmed on Haiku sin_len and sin6_len don't exist... /boot/system/develop/headers/posix/netinet/in.h /* IP Version 4 socket address */
struct sockaddr_in {
uint8_t sin_len;
uint8_t sin_family;
uint16_t sin_port;
struct in_addr sin_addr;
int8_t sin_zero[24];
}; /boot/system/develop/headers/posix/netinet6/in6.h /* IP Version 6 socket address. */
struct sockaddr_in6 {
uint8_t sin6_len;
uint8_t sin6_family;
uint16_t sin6_port;
uint32_t sin6_flowinfo;
struct in6_addr sin6_addr;
uint32_t sin6_scope_id;
}; Investigating... |
Nevermind, we just need Haiku added for sin_len, sin6_len. Appears ordering of these defines doesn't matter since ordering doesn't match FreeBSD. Working up PR Pretty sure the |
Fixed in 6081dff |
Dag nabbit, I thought we had Haiku support nailed down. Just ran into another net2 error building a crate.
The text was updated successfully, but these errors were encountered: