bd05206403
The musl headers are laid out differently, so it needs a couple workarounds to get access to all the definitions. This also fixes qemu-user-static. [ci skip] Closes: #11373 [via git-merge-pr]
12 lines
317 B
Diff
12 lines
317 B
Diff
This include is necessary to get PT_NIP on musl.
|
|
--- linux-user/host/ppc64/hostdep.h
|
|
+++ linux-user/host/ppc64/hostdep.h
|
|
@@ -17,6 +17,8 @@
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
+#include <asm/ptrace.h>
|
|
+
|
|
/* These are defined by the safe-syscall.inc.S file */
|
|
extern char safe_syscall_start[];
|
|
extern char safe_syscall_end[];
|