Skip to content

Commit

Permalink
src: include signal.h in util.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
  • Loading branch information
zcbenz authored and rvagg committed Sep 30, 2015
1 parent fde0c6f commit 9a593ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "v8.h"

#include <assert.h>
#include <signal.h>
#include <stddef.h>
#include <stdlib.h>

Expand Down

0 comments on commit 9a593ab

Please sign in to comment.