Skip to content

Commit 06fbc03

Browse files
codebytereMylesBorins
authored andcommitted
src: include uv.h in node_binding header
This was removed in 3bb085d but is needed by Electron on Windows, as otherwise compilation errors will occur as a result of unknown libuv types. PR-URL: #31265 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 8e14066 commit 06fbc03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_binding.h

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "node.h"
1111
#define NAPI_EXPERIMENTAL
1212
#include "node_api.h"
13+
#include "uv.h"
1314

1415
enum {
1516
NM_F_BUILTIN = 1 << 0, // Unused.

0 commit comments

Comments
 (0)