-
-
Notifications
You must be signed in to change notification settings - Fork 173
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 <signal.h> in rgbgfx_test.cpp #1589
Conversation
This is surprising, since Linux + FreeBSD + OpenBSD's
@nunotexbsd, do you know why that extra header is necessary? |
I was to do a pull request today
No |
I mean, why did you have to add that patch to the port? |
build fails without it |
What is the exact message that it fails with? How did you choose to add that header on that line to fix it? |
build faild with missing symbols, missing header I can send log laters when I get back to my PC |
I took info from the man:
Full log: |
POSIX <sys/wait.h> marks
These are listed specifically in POSIX <signal.h>. Presumably that header is being made visible via one of our Linux headers, but not on BSD. So I think this PR is appropriate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see: the transitive exposition was made mandatory in POSIX.1-2024! So yeah, let's do this.
This is apparently necessary for BSD, and harmless for Linux. (It already gets
pid_t
from some other header, but POSIX has it in signal.h.)@nunotexbsd This should mean that in 0.9.1 you can remove that patch file. :)