Commit 499f926f authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

parasite: include syscall-codes.h to get __NR_memfd_create

  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: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 123551cc
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "proc_parse.h" #include "proc_parse.h"
#include "aio.h" #include "aio.h"
#include "fault-injection.h" #include "fault-injection.h"
#include "syscall-codes.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.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