Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3617)

Unified Diff: base/debug/stack_trace_posix.cc

Issue 7238021: Solaris patch (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/debug/stack_trace_posix.cc
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc
index c405aa27ae942c87b53b81762339b60f74736e73..91344f5823c0cca989432647a5acd6867946ef93 100644
--- a/base/debug/stack_trace_posix.cc
+++ b/base/debug/stack_trace_posix.cc
@@ -11,7 +11,9 @@
#include <stdlib.h>
#include <sys/param.h>
#include <sys/stat.h>
+#if defined(OS_OPENBSD) || defined(OS_FREEBSD)
#include <sys/sysctl.h>
+#endif
#include <sys/types.h>
#include <unistd.h>

Powered by Google App Engine
This is Rietveld 408576698