[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vinson Lee <vlee@xxxxxxxxxxx>

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’

Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxx>
---
 syscalls/prctl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/syscalls/prctl.c b/syscalls/prctl.c
index 5c35036..182c458 100644
--- a/syscalls/prctl.c
+++ b/syscalls/prctl.c
@@ -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] = {
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux