diff options
-rw-r--r-- | src/js_native_api_v8.cc | 2 | ||||
-rw-r--r-- | src/large_pages/node_large_page.cc | 20 | ||||
-rw-r--r-- | src/node_object_wrap.h | 2 |
3 files changed, 13 insertions, 11 deletions
diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 134ae992ec0..e05163c32f8 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -1,4 +1,4 @@ -#include <limits.h> // INT_MAX +#include <climits> // INT_MAX #include <cmath> #include <algorithm> #define NAPI_EXPERIMENTAL diff --git a/src/large_pages/node_large_page.cc b/src/large_pages/node_large_page.cc index ad599a1a91b..333a119ee46 100644 --- a/src/large_pages/node_large_page.cc +++ b/src/large_pages/node_large_page.cc @@ -20,19 +20,21 @@ // // SPDX-License-Identifier: MIT -#include <errno.h> // NOLINT(build/include) -#include <fcntl.h> // _O_RDWR -#include <limits.h> // PATH_MAX -#include <locale.h> -#include <signal.h> -#include <stdio.h> -#include <stdlib.h> -#include <stdint.h> -#include <string.h> +#include "node_large_page.h" + +#include <fcntl.h> // _O_RDWR #include <sys/types.h> #include <sys/mman.h> #include <unistd.h> // readlink +#include <cerrno> // NOLINT(build/include) +#include <climits> // PATH_MAX +#include <clocale> +#include <csignal> +#include <cstdio> +#include <cstdlib> +#include <cstdint> +#include <cstring> #include <string> #include <fstream> #include <iostream> diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index 6753a703536..9dce684892a 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -23,7 +23,7 @@ #define SRC_NODE_OBJECT_WRAP_H_ #include "v8.h" -#include <assert.h> +#include <cassert> namespace node { |