aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/linux/minidump_writer/linux_ptrace_dumper.cc5
1 files changed, 4 insertions, 1 deletions
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 <asm/ptrace.h>
#include <assert.h>
-#include <cpuid.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
@@ -50,6 +49,10 @@
#include <sys/ptrace.h>
#include <sys/wait.h>
+#if defined(__i386)
+#include <cpuid.h>
+#endif
+
#include "client/linux/minidump_writer/directory_reader.h"
#include "client/linux/minidump_writer/line_reader.h"
#include "common/linux/linux_libc_support.h"