We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8723507 + 4bec538 commit 4924389Copy full SHA for 4924389
1 file changed
backward.hpp
@@ -211,6 +211,12 @@
211
#else
212
#include <link.h>
213
#endif
214
+#if defined(__ppc__) || defined(__powerpc) || defined(__powerpc__) || \
215
+ defined(__POWERPC__)
216
+// Linux kernel header required for the struct pt_regs definition
217
+// to access the NIP (Next Instruction Pointer) register value
218
+#include <asm/ptrace.h>
219
+#endif
220
#include <signal.h>
221
#include <sys/stat.h>
222
#include <syscall.h>
0 commit comments