-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
src: Include "signal.h" in "util.h" #3058
Conversation
lgtm |
LGTM |
Ditto |
LGTM |
Can you please include the complete description in the PR to the commit log as well? |
It is required for using the "SIGABRT" constant. It doesn't cause compilation errors in Node because most files already have "signal.h" included, but it causes errors for third party embedder.
Sure, I have updated the commit message. |
@zcbenz I am sorry, the commit log lines should not exceed 72 characters. Ref: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit |
@thefourtheye you can fix this when you rebase to land the commit |
It is required for using the "SIGABRT" constant. It doesn't cause compilation errors in Node because most files already have "signal.h" included, but it causes errors for third party embedder. PR-URL: #3058 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Rod Vagg <r@va.gg> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Landed in 1b78151, thanks. It takes the cake for number of reviewers for a one-liner. :-) |
It is required for using the "SIGABRT" constant. It doesn't cause compilation errors in Node because most files already have "signal.h" included, but it causes errors for third party embedder. PR-URL: #3058 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Rod Vagg <r@va.gg> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
It is required for using the
SIGABRT
constant.It doesn't cause compilation errors in Node because most files already have "signal.h" included, but it causes errors for third party embedder.