aboutsummaryrefslogtreecommitdiff
path: root/src/client/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2019-03-06 18:34:12 -0500
committerMike Frysinger <vapier@chromium.org>2019-03-07 05:58:16 +0000
commit57f420bf7ce5fbcd5e229c88252be73dad1c9d5f (patch)
tree62f1652d105225ebba92e866fc047ec3b415d351 /src/client/linux
parentcore2md: write error message with perror (diff)
downloadbreakpad-57f420bf7ce5fbcd5e229c88252be73dad1c9d5f.tar.xz
linux_core_dumper: add a fallback definition for NT_SIGINFO
When building on an old system with outdated headers, this define might not be available. Add a fallback to our existing elf header. Bug: google-breakpad:790 Change-Id: I4dfe7a5cebd414cca3582a1a9cfc983503d5a779 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1507073 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/client/linux')
-rw-r--r--src/client/linux/minidump_writer/linux_core_dumper.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/linux/minidump_writer/linux_core_dumper.cc b/src/client/linux/minidump_writer/linux_core_dumper.cc
index 9a2f4d6c..3bb2ee7e 100644
--- a/src/client/linux/minidump_writer/linux_core_dumper.cc
+++ b/src/client/linux/minidump_writer/linux_core_dumper.cc
@@ -43,6 +43,7 @@
#include <asm/reg.h>
#endif
+#include "common/linux/elf_gnu_compat.h"
#include "common/linux/linux_libc_support.h"
namespace google_breakpad {