17 lines
304 B
Diff
17 lines
304 B
Diff
--- regs.h
|
|
+++ regs.h
|
|
@@ -8,7 +8,13 @@
|
|
#ifndef STRACE_REGS_H
|
|
# define STRACE_REGS_H
|
|
|
|
+#if !defined(__GLIBC__) && defined(__powerpc__)
|
|
+# define pt_regs musl_pt_regs
|
|
# include <sys/user.h>
|
|
+# undef pt_regs
|
|
+#else
|
|
+# include <sys/user.h>
|
|
+#endif
|
|
# include "arch_regs.h"
|
|
|
|
#endif /* !STRACE_REGS_H */
|