blob: 87e00c2422c0b45115e0b2e4479c834379ccca9e [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 68580cb62f77117be3164c52abae68f75e8e59a1 Mon Sep 17 00:00:00 2001
2From: Felix Janda <felix.janda@posteo.de>
3Date: Sun, 1 Feb 2015 14:26:52 +0100
4Subject: [PATCH 1/3] include <sys/reg.h> to get __WORDSIZE on musl libc
5
6---
Patrick Williams520786c2023-06-25 16:20:36 -05007Upstream-Status: Pending
8
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009 src/common/linux/elf_core_dump.h | 1 +
10 1 file changed, 1 insertion(+)
11
Andrew Geissler32b11992021-03-31 13:37:05 -050012--- a/src/common/linux/elf_core_dump.h
13+++ b/src/common/linux/elf_core_dump.h
14@@ -33,10 +33,14 @@
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015 #ifndef COMMON_LINUX_ELF_CORE_DUMP_H_
16 #define COMMON_LINUX_ELF_CORE_DUMP_H_
17
18+#include <config.h>
19 #include <elf.h>
Andrew Geissler32b11992021-03-31 13:37:05 -050020 #include <limits.h>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050021 #include <link.h>
22 #include <stddef.h>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023+#ifdef HAVE_SYS_REG_H
24+#include <sys/reg.h>
25+#endif
Andrew Geissler32b11992021-03-31 13:37:05 -050026
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027 #include "common/memory_range.h"
28