From 6074c8cdbb06a37d30b43b8e0e4b418951490fa8 Mon Sep 17 00:00:00 2001 From: Alexey Kuzmin Date: Thu, 2 Nov 2017 05:32:58 +0300 Subject: [PATCH] inspector: include node_platform.h header Include the header instead of using a forward declaration. PR-URL: https://github.com/nodejs/node/pull/16677 Reviewed-By: Eugene Ostroukhov Reviewed-By: James M Snell Reviewed-By: Timothy Gu Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil --- src/inspector_agent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspector_agent.h b/src/inspector_agent.h index 24fae116f94a3e..7211f5a2a49a95 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -10,6 +10,7 @@ #endif #include "node_debug_options.h" +#include "node_platform.h" #include "v8.h" namespace v8_inspector { @@ -19,7 +20,6 @@ class StringView; namespace node { // Forward declaration to break recursive dependency chain with src/env.h. class Environment; -class NodePlatform; namespace inspector {