Skip to content

Commit

Permalink
src: include uv.h in node_binding header
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
codebytere committed Jan 8, 2020
1 parent f2a089a commit 4d8ffe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node_binding.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "node.h"
#define NAPI_EXPERIMENTAL
#include "node_api.h"
#include "uv.h"

enum {
NM_F_BUILTIN = 1 << 0, // Unused.
Expand Down

0 comments on commit 4d8ffe2

Please sign in to comment.