criu/criu-fix-PTRACE_LISTEN-define.diff

17 lines
306 B
Diff

---
include/ptrace.h | 2 ++
1 file changed, 2 insertions(+)
--- a/include/ptrace.h
+++ b/include/ptrace.h
@@ -13,7 +13,9 @@
# define PTRACE_INTERRUPT 0x4207
#endif
+#ifndef PTRACE_LISTEN
#define PTRACE_LISTEN 0x4208
+#endif
#ifndef PTRACE_PEEKSIGINFO
#define PTRACE_PEEKSIGINFO 0x4209