| From 68580cb62f77117be3164c52abae68f75e8e59a1 Mon Sep 17 00:00:00 2001 |
| From: Felix Janda <felix.janda@posteo.de> |
| Date: Sun, 1 Feb 2015 14:26:52 +0100 |
| Subject: [PATCH 1/3] include <sys/reg.h> to get __WORDSIZE on musl libc |
| |
| --- |
| src/common/linux/elf_core_dump.h | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| Index: git/src/common/linux/elf_core_dump.h |
| =================================================================== |
| --- git.orig/src/common/linux/elf_core_dump.h |
| +++ git/src/common/linux/elf_core_dump.h |
| @@ -33,10 +33,13 @@ |
| #ifndef COMMON_LINUX_ELF_CORE_DUMP_H_ |
| #define COMMON_LINUX_ELF_CORE_DUMP_H_ |
| |
| +#include <config.h> |
| #include <elf.h> |
| #include <link.h> |
| #include <stddef.h> |
| - |
| +#ifdef HAVE_SYS_REG_H |
| +#include <sys/reg.h> |
| +#endif |
| #include "common/memory_range.h" |
| |
| namespace google_breakpad { |