summaryrefslogtreecommitdiff
path: root/src/inspector_io.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-08-25 01:36:16 +0200
committerAnna Henningsen <anna@addaleax.net>2018-08-28 16:54:07 +0200
commit09fce8562a3a898e02666e89aa94a2f88fbb766f (patch)
tree9286702bffa9ff53845d4cd690cf273dcac368d1 /src/inspector_io.h
parent66e6d7835ea699d8efe5f53974ed7bcffe7f8a9f (diff)
downloadnode-new-09fce8562a3a898e02666e89aa94a2f88fbb766f.tar.gz
src: add missing `NODE_WANT_INTERNALS` guards
We generally add these to all headers that are considered internal to Node. These aren’t distributed as part of the headers tarball, so I think this does not have to be semver-major (and we have been changing the APIs in these headers freely anyway). PR-URL: https://github.com/nodejs/node/pull/22514 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_io.h')
-rw-r--r--src/inspector_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspector_io.h b/src/inspector_io.h
index 2b9f0acd48..21df54e031 100644
--- a/src/inspector_io.h
+++ b/src/inspector_io.h
@@ -1,6 +1,8 @@
#ifndef SRC_INSPECTOR_IO_H_
#define SRC_INSPECTOR_IO_H_
+#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#include "inspector_socket_server.h"
#include "node_mutex.h"
#include "uv.h"
@@ -90,4 +92,6 @@ class InspectorIo {
} // namespace inspector
} // namespace node
+#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
+
#endif // SRC_INSPECTOR_IO_H_