Skip to content

Commit 1e95bb8

Browse files
lundibunditargos
authored andcommitted
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: #32092 PR-URL: #31078 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent c3efd2c commit 1e95bb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node.cc

+2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565
#include "inspector/worker_inspector.h" // ParentInspectorHandle
6666
#endif
6767

68+
#ifdef NODE_ENABLE_LARGE_CODE_PAGES
6869
#include "large_pages/node_large_page.h"
70+
#endif
6971

7072
#ifdef NODE_REPORT
7173
#include "node_report.h"

0 commit comments

Comments
 (0)