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.

Backport-PR-URL: https://github.com/nodejs/node/pull/32092
PR-URL: https://github.com/nodejs/node/pull/31078
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Denys Otrishko authored and Michaël Zasso committed 2020-04-28 16:00:41 +02:00
1 parent c3efd2cb9a
commit 1e95bb85a9
1 file changed
+2
+2
View File
@@ -65,7 +65,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"