From cd272586eec3fc5d57d49a7cfbe55e7ade5d39a2 Mon Sep 17 00:00:00 2001 From: "mcgrathr@chromium.org" Date: Tue, 10 Dec 2013 18:25:45 +0000 Subject: Conditionalize use of header This header only exists for x86 environments, but was included unconditionally. That broke the builds for all non-x86 environments. R=mark@chromium.org BUG= Review URL: https://breakpad.appspot.com/824003 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1253 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/linux/minidump_writer/linux_ptrace_dumper.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/linux') diff --git a/src/client/linux/minidump_writer/linux_ptrace_dumper.cc b/src/client/linux/minidump_writer/linux_ptrace_dumper.cc index 0a537a8b..f1582573 100644 --- a/src/client/linux/minidump_writer/linux_ptrace_dumper.cc +++ b/src/client/linux/minidump_writer/linux_ptrace_dumper.cc @@ -40,7 +40,6 @@ #include #include -#include #include #include #include @@ -50,6 +49,10 @@ #include #include +#if defined(__i386) +#include +#endif + #include "client/linux/minidump_writer/directory_reader.h" #include "client/linux/minidump_writer/line_reader.h" #include "common/linux/linux_libc_support.h" -- cgit v1.2.1