Skip to content

Fix OpenBSD build#291

Merged
Thomasdezeeuw merged 3 commits into
rust-lang:masterfrom
niklasha:niklasha-patch-1
Jan 28, 2022
Merged

Fix OpenBSD build#291
Thomasdezeeuw merged 3 commits into
rust-lang:masterfrom
niklasha:niklasha-patch-1

Conversation

@niklasha

Copy link
Copy Markdown
Contributor

Rust libc does not provide ip_mreqn for openbsd, so add it to the cfg exclusion sets where necessary.

@Thomasdezeeuw

Copy link
Copy Markdown
Collaborator

According to https://man.openbsd.org/ip.4 ip_mreqn does exists on OpenBSD, so maybe the better route is to add it to libc?

@niklasha

Copy link
Copy Markdown
Contributor Author

According to https://man.openbsd.org/ip.4 ip_mreqn does exists on OpenBSD, so maybe the better route is to add it to libc?

Yes I am aware of that. However I was in a hurry, and had no time to check if the ip_mreqn use there, is compatible with libc's. I might get back to it later.

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.

2 participants