diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-05-22 22:12:36 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-05-26 18:09:45 +0300 |
commit | 02f9a0fe27a70062631a39971099e13f54d2b588 (patch) | |
tree | 17561268145e62e01e8cdb0f8a4c5d4f9b204af9 /src/node_api.cc | |
parent | 91ec5bf7ba78039b6ab856c87aa39e3b7ef77c7e (diff) |
src: move DiagnosticFilename inlines into a -inl.h
DiagnosticFilename's constructor default values use inlines from
env-inl.h, causing the many users of node_internals.h to include
env-inl.h, even if they never use DiagnosticFilename.
PR-URL: https://github.com/nodejs/node/pull/27839
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/node_api.cc')
-rw-r--r-- | src/node_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_api.cc b/src/node_api.cc index 32393883d7c..91e6a14cdc1 100644 --- a/src/node_api.cc +++ b/src/node_api.cc @@ -1,9 +1,9 @@ -#include <node_buffer.h> #include "env-inl.h" #define NAPI_EXPERIMENTAL #include "js_native_api_v8.h" #include "node_api.h" #include "node_binding.h" +#include "node_buffer.h" #include "node_errors.h" #include "node_internals.h" #include "threadpoolwork-inl.h" |