void-packages/srcpkgs/kcov/patches/musl.patch
2018-12-30 22:29:55 -02:00

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