summaryrefslogtreecommitdiff
path: root/extra/elfutils/patches/musl-asm-ptrace-h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/elfutils/patches/musl-asm-ptrace-h.patch')
-rw-r--r--extra/elfutils/patches/musl-asm-ptrace-h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/elfutils/patches/musl-asm-ptrace-h.patch b/extra/elfutils/patches/musl-asm-ptrace-h.patch
new file mode 100644
index 0000000..fc14686
--- /dev/null
+++ b/extra/elfutils/patches/musl-asm-ptrace-h.patch
@@ -0,0 +1,10 @@
+--- a/backends/ppc_initreg.c 2019-11-26 23:48:42.000000000 +0100
++++ b/backends/ppc_initreg.c 2019-12-08 16:57:58.334872602 +0100
+@@ -32,6 +32,7 @@
+
+ #include <stdlib.h>
+ #if defined(__powerpc__) && defined(__linux__)
++# include <asm/ptrace.h>
+ # include <sys/ptrace.h>
+ # include <sys/user.h>
+ #endif