Skip to content
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

Fix the build on OpenBSD. #1168

Merged
merged 1 commit into from
Dec 23, 2019
Merged

Fix the build on OpenBSD. #1168

merged 1 commit into from
Dec 23, 2019

Conversation

asomers
Copy link
Member

@asomers asomers commented Dec 23, 2019

We were assuming the wrong types for f_iosize and f_ffree in struct
statfs on OpenBSD.

Fixes #1125

We were assuming the wrong types for f_iosize and f_ffree in struct
statfs on OpenBSD.

Fixes nix-rust#1125
@asomers
Copy link
Member Author

asomers commented Dec 23, 2019

@kpcyrd could you please test this PR?

Copy link
Contributor

@kpcyrd kpcyrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this and builds correctly on OpenBSD -current

@asomers
Copy link
Member Author

asomers commented Dec 23, 2019

bors r+

bors bot added a commit that referenced this pull request Dec 23, 2019
1168: Fix the build on OpenBSD. r=asomers a=asomers

We were assuming the wrong types for f_iosize and f_ffree in struct
statfs on OpenBSD.

Fixes #1125

Co-authored-by: Alan Somers <asomers@gmail.com>
@bors
Copy link
Contributor

bors bot commented Dec 23, 2019

Build succeeded

@bors bors bot merged commit 7a1e861 into nix-rust:master Dec 23, 2019
@asomers asomers deleted the issue_1125 branch December 23, 2019 16:48
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.

Build failure on OpenBSD-current.
2 participants