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

Use linux-raw-sys for statx type definitions and fix compatibility with musl #322

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gelbpunkt
Copy link

See the individual commit messages for the reasoning. This is a less intrusive alternative to #319

These definitions are not provided on musl by the libc crate, and since
they are defined in kernel headers, we can just use linux-raw-sys on all
targets.

Signed-off-by: Jens Reidel <[email protected]>
The msghdr struct definition varies between glibc and musl. Fix the
usage of the struct in the code to make it compatible with both.

Signed-off-by: Jens Reidel <[email protected]>
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.

1 participant