Skip to content

Commit 4d8ffe2

Browse files
committed
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.
1 parent f2a089a commit 4d8ffe2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_binding.h

Lines changed: 1 addition & 0 deletions
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)