aboutsummaryrefslogtreecommitdiffstats
path: root/main/libunwind/ppc64-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libunwind/ppc64-musl.patch')
-rw-r--r--main/libunwind/ppc64-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/libunwind/ppc64-musl.patch b/main/libunwind/ppc64-musl.patch
new file mode 100644
index 0000000000..e3f4848871
--- /dev/null
+++ b/main/libunwind/ppc64-musl.patch
@@ -0,0 +1,11 @@
+--- a/src/ptrace/_UPT_reg_offset.c
++++ b/src/ptrace/_UPT_reg_offset.c
+@@ -32,6 +32,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
+ # include <asm/ptrace_offsets.h>
+ #endif
+
++#include <asm/ptrace.h>
++
+ const int _UPT_reg_offset[UNW_REG_LAST + 1] =
+ {
+ #ifdef HAVE_ASM_PTRACE_OFFSETS_H