From a9c99c09a00c9c7e91b68a50aa76e97c03ff4bc2 Mon Sep 17 00:00:00 2001 From: Dmitry Safonov Date: Tue, 8 Nov 2016 16:27:00 +0300 Subject: [PATCH] cr-dump: add compel/ptrace.h include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Need in PTRACE_PEEKSIGINFO declarations: criu/cr-dump.c: In function ‘dump_signal_queue’: criu/cr-dump.c:901:16: error: ‘PTRACE_PEEKSIGINFO_SHARED’ undeclared (first use in this function) arg.flags |= PTRACE_PEEKSIGINFO_SHARED; ^ criu/cr-dump.c:901:16: note: each undeclared identifier is reported only once for each function it appears in criu/cr-dump.c:920:21: error: ‘PTRACE_PEEKSIGINFO’ undeclared (first use in this function) nr = ret = ptrace(PTRACE_PEEKSIGINFO, tid, &arg, si); ^ Can be squashed with commit 638b0c2f11e1 ("compel: Move in parasite engine"). Cc: Cyrill Gorcunov Signed-off-by: Dmitry Safonov Signed-off-by: Pavel Emelyanov Signed-off-by: Andrei Vagin --- criu/cr-dump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/criu/cr-dump.c b/criu/cr-dump.c index ded343ed8..afb5a51b8 100644 --- a/criu/cr-dump.c +++ b/criu/cr-dump.c @@ -42,6 +42,7 @@ #include "cr_options.h" #include "servicefd.h" #include "string.h" +#include #include "ptrace-compat.h" #include "util.h" #include "namespaces.h"