From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 15 Nov 2023 12:25:39 +0100 Subject: fix: missing include for NODE_EXTERN At some point it seems that node.h was removed from the include chain, causing the following error: ../../third_party/electron_node/src/module_wrap.h:33:1: error: unknown type name 'NODE_EXTERN' 33 | NODE_EXTERN v8::MaybeLocal ImportModuleDynamically( | ^ This should be upstreamed. diff --git a/src/module_wrap.h b/src/module_wrap.h index c51eb99ce3eb54bc30ae922e0357b637b09d53c6..55317ced78ee9ceaa13f7e00477c59370eb335fa 100644 --- a/src/module_wrap.h +++ b/src/module_wrap.h @@ -7,6 +7,7 @@ #include #include #include "base_object.h" +#include "node.h" namespace node {