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>
This commit is contained in:
Cheng Zhao 2015-09-25 13:06:37 +08:00 committed by Ben Noordhuis
parent af881ad647
commit 1b78151ff6

View File

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