smlinux/base/elfutils/musl-asm-ptrace-h.patch
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

10 lines
303 B
Diff

--- 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