reptyr: fix build on musl

This commit is contained in:
q66 2020-01-02 18:00:40 +01:00
parent 04e185354e
commit 63befc625e
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- ptrace.h 2020-01-02 17:05:32.920795583 +0100
+++ ptrace.h 2020-01-02 17:05:46.203324659 +0100
@@ -22,6 +22,9 @@
#ifndef PTRACE_H
#define PTRACE_H
+#ifdef __linux__
+#include <asm/ptrace.h>
+#endif
#include <sys/ptrace.h>
#include <sys/types.h>
#include <sys/user.h>