From 4d8ffe2e2c74d39118636d938e6d28f85290df2e 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. --- 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.