From: Vinson Lee <vlee@freedesktop.org>
To: trinity@vger.kernel.org
Cc: Vinson Lee <vlee@twitter.com>
Subject: [PATCH] syscalls/prctl.c: Fix build with USE_SECCOMP disabled.
Date: Mon, 9 Dec 2013 11:18:11 -0800 [thread overview]
Message-ID: <1386616691-29899-1-git-send-email-vlee@freedesktop.org> (raw)
From: Vinson Lee <vlee@twitter.com>
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@twitter.com>
---
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
reply other threads:[~2013-12-09 19:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386616691-29899-1-git-send-email-vlee@freedesktop.org \
--to=vlee@freedesktop.org \
--cc=trinity@vger.kernel.org \
--cc=vlee@twitter.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).