diff options
author | Refael Ackermann <refack@gmail.com> | 2019-02-25 17:27:19 -0500 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-03-12 09:57:19 -0400 |
commit | f2064dfc1fee2daa0537bc27d79d5aa0f734faaf (patch) | |
tree | 8e7c60ae471af748fe710193a3662d13de25c3fe /src/node.cc | |
parent | 902998190a55d6915b881936f6dd5b6e9cca6ad8 (diff) | |
download | android-node-v8-f2064dfc1fee2daa0537bc27d79d5aa0f734faaf.tar.gz android-node-v8-f2064dfc1fee2daa0537bc27d79d5aa0f734faaf.tar.bz2 android-node-v8-f2064dfc1fee2daa0537bc27d79d5aa0f734faaf.zip |
src: de-lint header usage
PR-URL: https://github.com/nodejs/node/pull/26306
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'src/node.cc')
-rw-r--r-- | src/node.cc | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/src/node.cc b/src/node.cc index fcc8923ff4..5e0e8df421 100644 --- a/src/node.cc +++ b/src/node.cc @@ -19,6 +19,10 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +#include "node.h" + +// ========== local headers ========== + #include "debug_utils.h" #include "node_binding.h" #include "node_buffer.h" @@ -72,25 +76,19 @@ #include "large_pages/node_large_page.h" #endif -#include <cerrno> +#ifdef NODE_REPORT +#include "node_report.h" +#endif + +// ========== global C headers ========== + #include <fcntl.h> // _O_RDWR -#include <climits> // PATH_MAX -#include <csignal> -#include <cstdio> -#include <cstdlib> -#include <cstring> #include <sys/types.h> -#include <string> -#include <vector> - #if defined(NODE_HAVE_I18N_SUPPORT) #include <unicode/uvernum.h> #endif -#ifdef NODE_REPORT -#include "node_report.h" -#endif #if defined(LEAK_SANITIZER) #include <sanitizer/lsan_interface.h> @@ -106,6 +104,18 @@ #include <unistd.h> // STDIN_FILENO, STDERR_FILENO #endif +// ========== global C++ headers ========== + +#include <cerrno> +#include <climits> // PATH_MAX +#include <csignal> +#include <cstdio> +#include <cstdlib> +#include <cstring> + +#include <string> +#include <vector> + namespace node { using options_parser::kAllowedInEnvironment; |