Browse Source

src: include signal.h in util.h

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: https://github.com/nodejs/node/pull/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>
v5.x
Cheng Zhao 9 years ago
committed by Ben Noordhuis
parent
commit
1b78151ff6
  1. 1
      src/util.h

1
src/util.h

@ -4,6 +4,7 @@
#include "v8.h"
#include <assert.h>
#include <signal.h>
#include <stddef.h>
#include <stdlib.h>

Loading…
Cancel
Save