This makes proot build on musl, but requires testing to make sure the resulting binary works as expected.
12 lines
419 B
Diff
12 lines
419 B
Diff
--- src/tracee/tracee.h 2014-12-15 15:18:11.000000000 +0100
|
|
+++ 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, */
|