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

V1.4 musl build #228

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Conversation

RomainNaour
Copy link
Contributor

Hello,

I did some build testing with different toolchain configuration and found 2 minor issues when building with musl-libc.

Best regards,
Romain

The manpage of poll(2) states that the prototype of poll is defined
in <poll.h>. Use that header file instead of <sys/poll.h> to allow
compilation against musl-libc.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
POSIX says `struct timeval` is defined if <sys/time.h> is included.

Adding this header allow to build against musl-libc.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
@mzillgith mzillgith merged commit d2961cd into mz-automation:v1.4 Jun 2, 2020
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