From 29929aa555d345208bd5fb8fd53d22a83cfeca62 Mon Sep 17 00:00:00 2001 From: Denys Otrishko Date: Tue, 24 Dec 2019 13:42:48 +0200 Subject: [PATCH] src: make large_pages node.cc include conditional The usage of the relevant methods from the file is conditional so make the include conditional too. --- src/node.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/node.cc b/src/node.cc index 9599b3625a5c43..cdb0ef0cfdc7dd 100644 --- a/src/node.cc +++ b/src/node.cc @@ -64,7 +64,9 @@ #include "inspector/worker_inspector.h" // ParentInspectorHandle #endif +#ifdef NODE_ENABLE_LARGE_CODE_PAGES #include "large_pages/node_large_page.h" +#endif #ifdef NODE_REPORT #include "node_report.h"