diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-09-22 13:15:47 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-09-22 17:28:52 +0300 |
commit | 84063a73144fba50ef55373a26bcbb589b8d156c (patch) | |
tree | 5b68a26d089811538efdc76a8a9540d93d36388d /src/node_buffer.h | |
parent | 6983157adfb49d644fb27985f97f12a54fcc98e1 (diff) |
src: do not include internals from node_buffer.h
`node_buffer.h` is a public header, so it should not be using
the `node_internals.h` internal header.
Ref: 290315ace7eed6eeeb300754dd68fc1af4d80c9b
Fixes: https://github.com/nodejs/node/issues/15552
PR-URL: https://github.com/nodejs/node/pull/15554
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'src/node_buffer.h')
-rw-r--r-- | src/node_buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h index d680eb90eb1..acf9b23c3b3 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -22,7 +22,8 @@ #ifndef SRC_NODE_BUFFER_H_ #define SRC_NODE_BUFFER_H_ -#include "node_internals.h" +#include "node.h" +#include "v8.h" namespace node { |