diff --git a/src/node_crypto_common.h b/src/node_crypto_common.h index e42e249ef2ba2e..f1299d84b632c0 100644 --- a/src/node_crypto_common.h +++ b/src/node_crypto_common.h @@ -3,7 +3,6 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#include "env.h" #include "node_crypto.h" #include "v8.h" #include @@ -13,6 +12,9 @@ #include namespace node { + +class Environment; + namespace crypto { // OPENSSL_free is a macro, so we need a wrapper function. diff --git a/src/node_http_common-inl.h b/src/node_http_common-inl.h index d63cdf79a4b468..2dcb643cce439c 100644 --- a/src/node_http_common-inl.h +++ b/src/node_http_common-inl.h @@ -4,7 +4,6 @@ #include "node_http_common.h" #include "node.h" #include "node_mem-inl.h" -#include "env-inl.h" #include "v8.h" #include diff --git a/src/node_sockaddr.h b/src/node_sockaddr.h index 2e3ae09ce3bb8d..c0d006a4d6e681 100644 --- a/src/node_sockaddr.h +++ b/src/node_sockaddr.h @@ -3,7 +3,6 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#include "env.h" #include "memory_tracker.h" #include "node.h" #include "uv.h" @@ -14,6 +13,8 @@ namespace node { +class Environment; + class SocketAddress : public MemoryRetainer { public: struct Hash { diff --git a/src/stream_base-inl.h b/src/stream_base-inl.h index 27a9a01c7c2170..d217ababbceab3 100644 --- a/src/stream_base-inl.h +++ b/src/stream_base-inl.h @@ -6,7 +6,6 @@ #include "stream_base.h" #include "node.h" -#include "env-inl.h" #include "v8.h" namespace node {