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

Fix missing <unistd.h> header for sleep(3) definition #52

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

ColinIanKing
Copy link
Contributor

Clean up build warning:
src/calibrate.c: In function ‘Calibrate’:
src/calibrate.c:32:9: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
32 | sleep(1);

Clean up build warning:
src/calibrate.c: In function ‘Calibrate’:
src/calibrate.c:32:9: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
   32 |         sleep(1);

Signed-off-by: Colin Ian King <[email protected]>
@hilldani
Copy link
Contributor

Thanks! running the tests

@hilldani
Copy link
Contributor

quick question what OS are you building on that shows this error? When we build in centos 7 I don't see this warning

@ColinIanKing
Copy link
Contributor Author

ColinIanKing commented Aug 17, 2023

I'm building this with debian bookworm and sid.

Copy link
Contributor

@hilldani hilldani left a comment

Choose a reason for hiding this comment

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

thanks!

@hilldani hilldani merged commit d82f25d into intel:main Aug 17, 2023
1 check passed
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