diff --git a/src/node.cc b/src/node.cc index 42e24a718c5475..612a11524e5f61 100644 --- a/src/node.cc +++ b/src/node.cc @@ -692,6 +692,12 @@ const char *signo_string(int signo) { # endif #endif +#ifdef SIGINFO +# if !defined(SIGPWR) || SIGINFO != SIGPWR + SIGNO_CASE(SIGINFO); +# endif +#endif + #ifdef SIGSYS SIGNO_CASE(SIGSYS); #endif diff --git a/src/node_constants.cc b/src/node_constants.cc index ed75b01fbf9213..87443c95be1b6d 100644 --- a/src/node_constants.cc +++ b/src/node_constants.cc @@ -716,6 +716,10 @@ void DefineSignalConstants(Local target) { NODE_DEFINE_CONSTANT(target, SIGPWR); #endif +#ifdef SIGINFO + NODE_DEFINE_CONSTANT(target, SIGINFO); +#endif + #ifdef SIGSYS NODE_DEFINE_CONSTANT(target, SIGSYS); #endif