Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-09-22 13:15:47 +0300
committerAnna Henningsen <anna@addaleax.net>2017-09-22 17:28:52 +0300
commit84063a73144fba50ef55373a26bcbb589b8d156c (patch)
tree5b68a26d089811538efdc76a8a9540d93d36388d /src/node_buffer.h
parent6983157adfb49d644fb27985f97f12a54fcc98e1 (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.h3
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 {