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

15 lines
237 B
Diff

--- a/src/engines/ptrace_linux.cc
+++ b/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>