Commit b9c5028e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

seccomp: Fix building issue on recent kernels

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-1628406918Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent e58f5daa
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment