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

kernel: fix compiler warning on some systems #5170

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

fingolfin
Copy link
Member

When using clock_gettime one must #include <time.h>, otherwise one gets compiler warnings if not errors. Observed while building GAP for Termux.

When using `clock_gettime` one must `#include <time.h>`
@fingolfin fingolfin added topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes backport-to-4.12 labels Oct 26, 2022
@fingolfin fingolfin merged commit 73df466 into gap-system:master Oct 27, 2022
@fingolfin fingolfin deleted the mh/fix-warning branch October 27, 2022 10:14
@fingolfin
Copy link
Member Author

Backported to stable-4.12 in commit 5b0a238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-4.12-DONE release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants