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

Add sys/time.h include to IpSocket for musl compat #1508

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

aditsachde
Copy link
Contributor

Originating Project/Creator @aditsachde
Affected Component IpSocket
Affected Architectures(s)
Related Issue(s) #1507
Has Unit Tests (y/n) n
Builds Without Errors (y/n) Let CI run
Unit Tests Pass (y/n) Let CI run
Documentation Included (y/n) n

Change Description

This PR includes an explicit <sys/time.h> include to the IpSocket component.

Rationale

Building with musl requires this change, and does not impact building with glibc.

Testing/Review Recommendations

This PR does not aim to introduce full musl compatibility, so building with musl will fail to compile. For now, testing with just glibc should be fine.

Future Work

We are using a toolchain that uses musl, and are aiming to upstream proper support for it.

@LeStarch LeStarch self-requested a review June 16, 2022 23:05
Copy link
Collaborator

@LeStarch LeStarch left a comment

Choose a reason for hiding this comment

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

Change looks good, I want CI to approve this works across our OSes and platforms. CI will do this for us.

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