void-packages/srcpkgs/radare2/patches/ptrace-include.patch

11 lines
287 B
Diff

--- libr/debug/p/native/linux/linux_coredump.c
+++ libr/debug/p/native/linux/linux_coredump.c
@@ -7,6 +7,7 @@
#if __x86_64__ || __i386__ || __arm__ || __arm64__
#include <sys/uio.h>
#include <sys/ptrace.h>
+#include <asm/ptrace.h>
#include "linux_coredump.h"
/* For compability */