elfutils: fix build on powerpc musl
This commit fixed https://github.com/project-openwrt/openwrt-kisco/issues/41
This commit is contained in:
parent
2eed55ed55
commit
7fc016b1d2
@ -0,0 +1,12 @@
|
||||
diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c
|
||||
index 0e0d359..810e14a 100644
|
||||
--- a/backends/ppc_initreg.c
|
||||
+++ b/backends/ppc_initreg.c
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <stdlib.h>
|
||||
#if defined(__powerpc__) && defined(__linux__)
|
||||
# include <sys/ptrace.h>
|
||||
+# include <linux/ptrace.h>
|
||||
# include <sys/user.h>
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user