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

Include <sys/time.h> #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heirecka
Copy link

@heirecka heirecka commented Jun 4, 2021

According to POSIX struct timeval is defined if <sys/time.h> is
included.
This fixes the build with musl, which is rather strict when it comes
to standards.

According to POSIX `struct timeval` is defined if <sys/time.h> is
included.
This fixes the build with musl, which is rather strict when it comes
to standards.
@centic9
Copy link
Contributor

centic9 commented Jun 6, 2021

Just out of curiosity: Which distribution do you use for testing? And how far did you get building openambit with musl?

@centic9
Copy link
Contributor

centic9 commented Jun 7, 2021

Some more required changes are on branch https://github.com/openambitproject/openambit/tree/support_musl but building on Alpine Linux did then fail during linking...

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.

None yet

2 participants