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

13 lines
458 B
Diff

--- a/src/tracee/tracee.h 2014-12-15 15:18:11.000000000 +0100
+++ b/src/tracee/tracee.h 2021-09-30 00:24:54.834523917 -0700
@@ -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 <stdint.h> /* *int*_t, */
#include <sys/wait.h> /* __WAIT_* */