summaryrefslogtreecommitdiff
path: root/runtime/utils.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-07-19 09:28:38 -0700
committer Andreas Gampe <agampe@google.com> 2017-07-24 16:07:10 -0700
commit8cf9cb386cd9286d67e879f1ee501ec00d72a4e1 (patch)
tree88e86e214b425e444760fe4e0ffeee677e1558a2 /runtime/utils.cc
parent914b7b6a6c9f399b26b41e9160e9871ef749e0db (diff)
ART: Include cleanup
Let clang-format reorder the header includes. Derived with: * .clang-format: BasedOnStyle: Google IncludeIsMainRegex: '(_test|-inl)?$' * Steps: find . -name '*.cc' -o -name '*.h' | xargs sed -i.bak -e 's/^#include/ #include/' ; git commit -a -m 'ART: Include cleanup' git-clang-format -style=file HEAD^ manual inspection git commit -a --amend Test: mmma art Change-Id: Ia963a8ce3ce5f96b5e78acd587e26908c7a70d02
Diffstat (limited to 'runtime/utils.cc')
-rw-r--r--runtime/utils.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc
index c4b044110c..ffa9d45812 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
+
#include <memory>
#include "android-base/stringprintf.h"
@@ -38,9 +39,9 @@
#include "utf-inl.h"
#if defined(__APPLE__)
-#include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED
-#include <sys/syscall.h>
#include <crt_externs.h>
+#include <sys/syscall.h>
+#include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED
#endif
#if defined(__linux__)