diff options
author | Shelley Vohr <shelley.vohr@gmail.com> | 2020-01-09 01:49:16 +0300 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2020-01-11 02:03:22 +0300 |
commit | a3d8de956ed5043d9bbbc09d30ed9d5b1e54186b (patch) | |
tree | e306567d5428ed3e0dd14edcd1a8e4548533c268 /src/node_binding.h | |
parent | 4524c115e0219912441401adc9fd06157fff8417 (diff) |
src: include uv.h in node_binding header
This was removed in https://github.com/nodejs/node/commit/3bb085dbad4d23030c731834e35b2804c8a50b23
but is needed by Electron on Windows, as otherwise compilation errors
will occur as a result of unknown libuv types.
PR-URL: https://github.com/nodejs/node/pull/31265
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/node_binding.h')
-rw-r--r-- | src/node_binding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_binding.h b/src/node_binding.h index 42f3c5b8d00..5bced5b4143 100644 --- a/src/node_binding.h +++ b/src/node_binding.h @@ -10,6 +10,7 @@ #include "node.h" #define NAPI_EXPERIMENTAL #include "node_api.h" +#include "uv.h" enum { NM_F_BUILTIN = 1 << 0, // Unused. |