syscalls/prctl.c: Fix build with USE_SECCOMP disabled.
PATCH 1/1 syscalls/prctl.c: Fix build with USE_SECCOMP disabled.
From: Vinson Lee <[email protected]>
This patch fixes this build error on CentOS 6.
CC syscalls/prctl.osyscalls/prctl.c:48: error: expected ‘)’ before ‘int’
cc1: warnings being treated as errorssyscalls/prctl.c: In function ‘sanitise_prctl’:syscalls/prctl.c:63: error: implicit declaration of function ‘do_set_seccomp’ syscalls/prctl.c:63: error: nested extern declaration of ‘do_set_seccomp’
Signed-off-by Vinson Lee <[email protected]>
--- syscalls/prctl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
syscalls/prctl.c +1 -0
@@ -18,6 +18,7 @@#include "shm.h" #include "compat.h" #include "utils.h" +#include "trinity.h" #define NR_PRCTL_OPTS 28static int prctl_opts[NR_PRCTL_OPTS ] = {
Signature · 1 line
1.7.1