Index: src/platform-posix.cc |
diff --git a/src/platform-posix.cc b/src/platform-posix.cc |
index 87b96e2aae77de139d934fa7d6b7490980439ce3..36cb8eb22cf2dc20ec291fc3f9d58230bfba43bc 100644 |
--- a/src/platform-posix.cc |
+++ b/src/platform-posix.cc |
@@ -7,37 +7,38 @@ |
// Linux, MacOS, FreeBSD, OpenBSD, NetBSD and QNX. |
#include <dlfcn.h> |
+#include <errno.h> |
#include <pthread.h> |
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) |
#include <pthread_np.h> // for pthread_set_name_np |
#endif |
#include <sched.h> // for sched_yield |
-#include <unistd.h> |
-#include <errno.h> |
#include <time.h> |
+#include <unistd.h> |
#include <sys/mman.h> |
#include <sys/resource.h> |
+#include <sys/stat.h> |
#include <sys/time.h> |
#include <sys/types.h> |
-#include <sys/stat.h> |
+ |
#if defined(__linux__) |
-#include <sys/prctl.h> // for prctl |
+#include <sys/prctl.h> // NOLINT, for prctl |
#endif |
#if defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__) || \ |
defined(__NetBSD__) || defined(__OpenBSD__) |
-#include <sys/sysctl.h> // for sysctl |
+#include <sys/sysctl.h> // NOLINT, for sysctl |
#endif |
#include <arpa/inet.h> |
-#include <netinet/in.h> |
#include <netdb.h> |
+#include <netinet/in.h> |
#undef MAP_TYPE |
#if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT) |
#define LOG_TAG "v8" |
-#include <android/log.h> |
+#include <android/log.h> // NOLINT |
#endif |
#include "src/v8.h" |