[CRIU] [PATCH master] parasite: include syscall-codes.h to get __NR_memfd_create
Andrey Vagin
avagin at openvz.org
Thu Jul 7 08:26:17 PDT 2016
CC parasite-syscall.o
parasite-syscall.c: In function ‘parasite_memfd_exchange’:
parasite-syscall.c:1223:28: error: ‘__NR_memfd_create’ undeclared (first
use in this function)
ret = syscall_seized(ctl, __NR_memfd_create, &sret,
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
criu/parasite-syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/criu/parasite-syscall.c b/criu/parasite-syscall.c
index d40a2ed..8305af0 100644
--- a/criu/parasite-syscall.c
+++ b/criu/parasite-syscall.c
@@ -29,6 +29,7 @@
#include "proc_parse.h"
#include "aio.h"
#include "fault-injection.h"
+#include "syscall-codes.h"
#include <string.h>
#include <stdlib.h>
--
2.5.5
More information about the CRIU
mailing list