Index: runtime/bin/file_linux.cc |
diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc |
index 00a0e4ec22335ca191136b5138c731426e875772..8f9a5eb6707ade1d7725a2827ac9b49a26a3e740 100644 |
--- a/runtime/bin/file_linux.cc |
+++ b/runtime/bin/file_linux.cc |
@@ -2,6 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#include "bin/file.h" |
+ |
#include <errno.h> |
#include <fcntl.h> |
#include <sys/stat.h> |
@@ -9,7 +11,6 @@ |
#include <libgen.h> |
#include "bin/builtin.h" |
-#include "bin/file.h" |
class FileHandle { |
public: |
@@ -158,7 +159,7 @@ char* File::GetCanonicalPath(const char* pathname) { |
do { |
abs_path = realpath(pathname, NULL); |
} while (abs_path == NULL && errno == EINTR); |
- assert(abs_path == NULL || IsAbsolutePath(abs_path)); |
+ ASSERT(abs_path == NULL || IsAbsolutePath(abs_path)); |
} |
return abs_path; |
} |