Skip to contentSkip to conversation

syscalls/prctl.c: Fix build with USE_SECCOMP disabled.

PATCH New Vinson Lee 1 participant 1 message Dec 9, 2013

lore
Share & tools
lore

Vinson Lee

author
#0 lore raw

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.o
syscalls/prctl.c:48: error: expected ‘)’ before ‘int’
cc1: warnings being treated as errors
syscalls/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’

---
 syscalls/prctl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
syscalls/prctl.c +1 -0
index 5c35036..182c458 100644
@@ -18,6 +18,7 @@
 #include "shm.h"
 #include "compat.h"
 #include "utils.h"
+#include "trinity.h"
 
 #define NR_PRCTL_OPTS 28
 static int prctl_opts[NR_PRCTL_OPTS] = {
Signature · 1 line
1.7.1