void-packages/srcpkgs/kcov/patches/musl.patch

15 lines
233 B
Diff

--- src/engines/ptrace_linux.cc
+++ src/engines/ptrace_linux.cc
@@ -8,6 +8,10 @@
# include <elf.h>
#endif
+#ifndef __GLIBC__
+typedef int __ptrace_request;
+#endif
+
#include <dirent.h>
#include <sched.h>
#include <stdio.h>