void-packages/srcpkgs/proot/patches/ptrace_compat.patch

13 lines
423 B
Diff

--- a/src/tracee/tracee.h 2014-12-15 15:18:11.000000000 +0100
+++ b/src/tracee/tracee.h 2015-07-12 13:12:10.726086466 +0200
@@ -28,6 +28,9 @@
#include <stdbool.h> /* bool, */
#include <sys/queue.h> /* LIST_*, */
#include <sys/ptrace.h>/* enum __ptrace_request */
+#if !defined(__GLIBC__)
+#include "ptrace_compat.h"
+#endif
#include <talloc.h> /* talloc_*, */
#include "arch.h" /* word_t, user_regs_struct, */