summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node_buffer.h3
-rw-r--r--src/node_serdes.cc5
-rw-r--r--src/spawn_sync.h2
-rw-r--r--src/string_bytes.cc3
4 files changed, 5 insertions, 8 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h
index d680eb90eb..acf9b23c3b 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 {
diff --git a/src/node_serdes.cc b/src/node_serdes.cc
index ced9e4dd98..f477016ec0 100644
--- a/src/node_serdes.cc
+++ b/src/node_serdes.cc
@@ -1,10 +1,7 @@
-#include "node.h"
+#include "node_internals.h"
#include "node_buffer.h"
#include "base-object.h"
#include "base-object-inl.h"
-#include "env.h"
-#include "env-inl.h"
-#include "v8.h"
namespace node {
diff --git a/src/spawn_sync.h b/src/spawn_sync.h
index a3eef5b15e..5b17e40091 100644
--- a/src/spawn_sync.h
+++ b/src/spawn_sync.h
@@ -24,7 +24,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
-#include "node.h"
+#include "node_internals.h"
#include "node_buffer.h"
namespace node {
diff --git a/src/string_bytes.cc b/src/string_bytes.cc
index 9df42f3bfa..60e88c4588 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