Index: base/debug/stack_trace_posix.cc |
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc |
index abbd64213886bfe48331ed66416899acedc5f890..cabce2cd00d72d07a3764b015a76acb9174e53ec 100644 |
--- a/base/debug/stack_trace_posix.cc |
+++ b/base/debug/stack_trace_posix.cc |
@@ -2,21 +2,20 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/debug/stack_trace.h" |
- |
-#include <errno.h> |
#include <execinfo.h> |
-#include <fcntl.h> |
+#include <i686-apple-darwin10/bits/c++config.h> |
+#include <stddef.h> |
#include <stdio.h> |
-#include <stdlib.h> |
-#include <sys/stat.h> |
-#include <sys/sysctl.h> |
-#include <sys/types.h> |
-#include <unistd.h> |
- |
+#include <string.h> |
+#include <sys/errno.h> |
+#include <algorithm> |
+#include <ostream> |
#include <string> |
#include <vector> |
+#include "base/debug/stack_trace.h" |
+#include "build/build_config.h" |
+ |
#if defined(__GLIBCXX__) |
#include <cxxabi.h> |
#endif |
@@ -28,11 +27,8 @@ |
#include <iostream> |
#include "base/basictypes.h" |
-#include "base/eintr_wrapper.h" |
-#include "base/logging.h" |
#include "base/safe_strerror_posix.h" |
#include "base/scoped_ptr.h" |
-#include "base/string_piece.h" |
#include "base/stringprintf.h" |
#if defined(USE_SYMBOLIZE) |