summaryrefslogtreecommitdiff
path: root/src/node_report.cc
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-02-25 17:27:19 -0500
committerRefael Ackermann <refack@gmail.com>2019-03-12 09:57:19 -0400
commitf2064dfc1fee2daa0537bc27d79d5aa0f734faaf (patch)
tree8e7c60ae471af748fe710193a3662d13de25c3fe /src/node_report.cc
parent902998190a55d6915b881936f6dd5b6e9cca6ad8 (diff)
downloadandroid-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_report.cc')
-rw-r--r--src/node_report.cc27
1 files changed, 9 insertions, 18 deletions
diff --git a/src/node_report.cc b/src/node_report.cc
index 5cbfd27d76..a319f51fdb 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