diff options
author | Refael Ackermann <refack@gmail.com> | 2019-02-26 01:27:19 +0300 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-03-12 16:57:19 +0300 |
commit | f2064dfc1fee2daa0537bc27d79d5aa0f734faaf (patch) | |
tree | 8e7c60ae471af748fe710193a3662d13de25c3fe /src/node_report.cc | |
parent | 902998190a55d6915b881936f6dd5b6e9cca6ad8 (diff) |
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_report.cc')
-rw-r--r-- | src/node_report.cc | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/src/node_report.cc b/src/node_report.cc index 5cbfd27d769..a319f51fdb1 100644 --- a/src/node_report.cc +++ b/src/node_report.cc @@ -8,8 +8,11 @@ #include "node_metadata.h" #include "zlib.h" -#include <atomic> -#include <fstream> +#ifdef __APPLE__ +#include <mach-o/dyld.h> +#endif + +#include <fcntl.h> #ifdef _WIN32 #include <Lm.h> @@ -18,31 +21,19 @@ #include <process.h> #include <psapi.h> #include <tchar.h> -#include <cwctype> -#else +#else // !_WIN32 #include <sys/resource.h> -// Get the standard printf format macros for C99 stdint types. -#ifndef __STDC_FORMAT_MACROS -#define __STDC_FORMAT_MACROS -#endif #include <cxxabi.h> #include <dlfcn.h> -#include <cinttypes> #endif -#include <fcntl.h> #include <cstring> #include <ctime> +#include <cwctype> +#include <atomic> +#include <fstream> #include <iomanip> -#ifndef _MSC_VER -#include <strings.h> -#endif - -#ifdef __APPLE__ -#include <mach-o/dyld.h> -#endif - #ifndef _WIN32 extern char** environ; #endif |