From 0e811173b1b5ddb94b6ed43735f2e33ab980e627 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 10 Apr 2018 15:17:44 +0200 Subject: src: add node_internal.h includes for arraysize This commit adds includes for node_internal.h in source files that use arraysize but don't include this header. The motivation for this is to make refactoring easier (and is the reason I noticed this). PR-URL: https://github.com/nodejs/node/pull/19916 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Gibson Fahnestock --- src/async_wrap.cc | 1 + src/cares_wrap.cc | 1 + src/connection_wrap.cc | 1 + src/fs_event_wrap.cc | 1 + src/js_stream.cc | 1 + src/node_counters.cc | 1 + src/node_crypto.cc | 1 + src/node_http2.cc | 1 + src/node_http_parser.cc | 1 + src/node_stat_watcher.cc | 1 + src/node_zlib.cc | 1 + src/pipe_wrap.cc | 1 + src/process_wrap.cc | 1 + src/stream_base.cc | 1 + src/tcp_wrap.cc | 1 + src/udp_wrap.cc | 1 + 16 files changed, 16 insertions(+) diff --git a/src/async_wrap.cc b/src/async_wrap.cc index de24239dd9..5e0543a12d 100644 --- a/src/async_wrap.cc +++ b/src/async_wrap.cc @@ -21,6 +21,7 @@ #include "async_wrap-inl.h" #include "env-inl.h" +#include "node_internals.h" #include "util-inl.h" #include "v8.h" diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index 8f69df8313..0cc7ed1464 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -24,6 +24,7 @@ #include "async_wrap-inl.h" #include "env-inl.h" #include "node.h" +#include "node_internals.h" #include "req_wrap-inl.h" #include "util-inl.h" #include "uv.h" diff --git a/src/connection_wrap.cc b/src/connection_wrap.cc index a6cf67ceee..e0052a643b 100644 --- a/src/connection_wrap.cc +++ b/src/connection_wrap.cc @@ -3,6 +3,7 @@ #include "connect_wrap.h" #include "env-inl.h" #include "pipe_wrap.h" +#include "node_internals.h" #include "stream_base-inl.h" #include "stream_wrap.h" #include "tcp_wrap.h" diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 46318e39c9..1e7505d6d3 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -23,6 +23,7 @@ #include "env-inl.h" #include "util-inl.h" #include "node.h" +#include "node_internals.h" #include "handle_wrap.h" #include "string_bytes.h" diff --git a/src/js_stream.cc b/src/js_stream.cc index 3ba6a254cf..ed6c6ee738 100644 --- a/src/js_stream.cc +++ b/src/js_stream.cc @@ -3,6 +3,7 @@ #include "async_wrap.h" #include "env-inl.h" #include "node_buffer.h" +#include "node_internals.h" #include "stream_base-inl.h" #include "v8.h" diff --git a/src/node_counters.cc b/src/node_counters.cc index 06d2b9f68f..99b3b8fd8b 100644 --- a/src/node_counters.cc +++ b/src/node_counters.cc @@ -20,6 +20,7 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. #include "node_counters.h" +#include "node_internals.h" #include "uv.h" #include "env-inl.h" diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 9733fddcf3..50a8b6942b 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -27,6 +27,7 @@ #include "node_crypto_groups.h" #include "node_crypto_clienthello-inl.h" #include "node_mutex.h" +#include "node_internals.h" #include "tls_wrap.h" // TLSWrap #include "async_wrap-inl.h" diff --git a/src/node_http2.cc b/src/node_http2.cc index 63ef4df793..a76943a10b 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -3,6 +3,7 @@ #include "node_buffer.h" #include "node_http2.h" #include "node_http2_state.h" +#include "node_internals.h" #include "node_perf.h" #include diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index 7fddb747cd..085f4494e3 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -21,6 +21,7 @@ #include "node.h" #include "node_buffer.h" +#include "node_internals.h" #include "async_wrap-inl.h" #include "env-inl.h" diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc index 2ff3af633f..878d82b8df 100644 --- a/src/node_stat_watcher.cc +++ b/src/node_stat_watcher.cc @@ -20,6 +20,7 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. #include "node_stat_watcher.h" +#include "node_internals.h" #include "async_wrap-inl.h" #include "env-inl.h" #include "util-inl.h" diff --git a/src/node_zlib.cc b/src/node_zlib.cc index 4367d043d2..67987baf8a 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -21,6 +21,7 @@ #include "node.h" #include "node_buffer.h" +#include "node_internals.h" #include "async_wrap-inl.h" #include "env-inl.h" diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index 14ac671b92..0116051b3b 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -27,6 +27,7 @@ #include "handle_wrap.h" #include "node.h" #include "node_buffer.h" +#include "node_internals.h" #include "node_wrap.h" #include "connect_wrap.h" #include "stream_base-inl.h" diff --git a/src/process_wrap.cc b/src/process_wrap.cc index 314131e1dd..96d60cc900 100644 --- a/src/process_wrap.cc +++ b/src/process_wrap.cc @@ -21,6 +21,7 @@ #include "env-inl.h" #include "handle_wrap.h" +#include "node_internals.h" #include "node_wrap.h" #include "stream_base-inl.h" #include "util-inl.h" diff --git a/src/stream_base.cc b/src/stream_base.cc index 263943d2b0..880e1a968d 100644 --- a/src/stream_base.cc +++ b/src/stream_base.cc @@ -3,6 +3,7 @@ #include "node.h" #include "node_buffer.h" +#include "node_internals.h" #include "env-inl.h" #include "js_stream.h" #include "string_bytes.h" diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc index cd6ed3cef0..6158a1c4a4 100644 --- a/src/tcp_wrap.cc +++ b/src/tcp_wrap.cc @@ -25,6 +25,7 @@ #include "env-inl.h" #include "handle_wrap.h" #include "node_buffer.h" +#include "node_internals.h" #include "node_wrap.h" #include "connect_wrap.h" #include "stream_base-inl.h" diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index 4f4d7c46d7..e02220a878 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -22,6 +22,7 @@ #include "udp_wrap.h" #include "env-inl.h" #include "node_buffer.h" +#include "node_internals.h" #include "handle_wrap.h" #include "req_wrap-inl.h" #include "util-inl.h" -- cgit v1.2.3