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/string_bytes.cc
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/string_bytes.cc')
-rw-r--r--src/string_bytes.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/string_bytes.cc b/src/string_bytes.cc
index 9df42f3bfad..60e88c45888 100644
--- a/src/string_bytes.cc
+++ b/src/string_bytes.cc
@@ -22,9 +22,8 @@
#include "string_bytes.h"
#include "base64.h"
-#include "node.h"
+#include "node_internals.h"
#include "node_buffer.h"
-#include "v8.h"
#include <limits.h>
#include <string.h> // memcpy