summaryrefslogtreecommitdiff
path: root/src/stream_base-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_base-inl.h')
-rw-r--r--src/stream_base-inl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stream_base-inl.h b/src/stream_base-inl.h
index bdc8211707..a34c01082d 100644
--- a/src/stream_base-inl.h
+++ b/src/stream_base-inl.h
@@ -1,6 +1,8 @@
#ifndef SRC_STREAM_BASE_INL_H_
#define SRC_STREAM_BASE_INL_H_
+#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#include "stream_base.h"
#include "node.h"
@@ -162,4 +164,6 @@ char* WriteWrap::Extra(size_t offset) {
} // namespace node
+#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#endif // SRC_STREAM_BASE_INL_H_