From 21bcc96f92b33751b4b55cc76549f8cde2b7cd5c Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 8 Jan 2020 14:49:16 -0800 Subject: [PATCH] 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 Reviewed-By: Ben Noordhuis Reviewed-By: David Carlier Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Rich Trott --- src/node_binding.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node_binding.h b/src/node_binding.h index 42f3c5b8d00880..5bced5b41431dc 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.