nixpkgs/pkgs/development/tools/analysis/kcov/aarch64_nt_prstatus.patch

13 lines
261 B
Diff

diff --git a/src/engines/ptrace.cc b/src/engines/ptrace.cc
index 59b615f..e02cddf 100644
--- a/src/engines/ptrace.cc
+++ b/src/engines/ptrace.cc
@@ -21,6 +21,7 @@
#if defined(__aarch64__)
# include <sys/uio.h>
+# include <elf.h>
#endif
#include <map>