Skip to content

Commit 9a593ab

Browse files
zcbenzrvagg
authored andcommitted
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: #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>
1 parent fde0c6f commit 9a593ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "v8.h"
55

66
#include <assert.h>
7+
#include <signal.h>
78
#include <stddef.h>
89
#include <stdlib.h>
910

0 commit comments

Comments
 (0)