[CRIU] [PATCH 5/5] seccomp: Fix building issue on recent kernels
Cyrill Gorcunov
gorcunov at gmail.com
Wed May 16 11:36:37 MSK 2018
The seccomp_metadata may be already defined in
system ptrace.h header on recent kernels so
include it.
https://github.com/checkpoint-restore/criu/issues/486#event-1628406918
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
criu/seccomp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/criu/seccomp.c b/criu/seccomp.c
index f6362635e330..d5da6475fcf8 100644
--- a/criu/seccomp.c
+++ b/criu/seccomp.c
@@ -2,6 +2,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
+#include <ptrace.h>
#include "common/config.h"
#include "imgset.h"
--
2.14.3
More information about the CRIU
mailing list