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: 290315ace7
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>
This commit is contained in:
Anna Henningsen authored and James M Snell committed 2017-09-25 11:12:09 -07:00
1 parent 2326d655de
commit 24271a7aca
4 files changed
+5 -8

No files matched your search

+1 -2
View File
@@ -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