trinity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vinson Lee <vlee@twopensource.com>
To: trinity@vger.kernel.org
Cc: Vinson Lee <vlee@twitter.com>
Subject: [PATCH] Fix build errors on Ubuntu 12.04.
Date: Thu, 22 May 2014 21:16:10 -0700	[thread overview]
Message-ID: <1400818570-13710-1-git-send-email-vlee@twopensource.com> (raw)

From: Vinson Lee <vlee@twitter.com>

  CC    syscalls/prctl.o
syscalls/prctl.c:33:13: error: ‘PR_SET_CHILD_SUBREAPER’ undeclared here (not in a function)
syscalls/prctl.c:33:37: error: ‘PR_GET_CHILD_SUBREAPER’ undeclared here (not in a function)
syscalls/prctl.c:34:23: error: ‘PR_GET_TID_ADDRESS’ undeclared here (not in a function)

Signed-off-by: Vinson Lee <vlee@twitter.com>
---
 include/compat.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/compat.h b/include/compat.h
index 51f0936..30edc81 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -257,6 +257,9 @@ enum {
 
 #ifndef PR_SET_MM
 #define PR_SET_MM               35
+#endif
+
+#ifndef PR_SET_CHILD_SUBREAPER
 #define PR_SET_CHILD_SUBREAPER  36
 #define PR_GET_CHILD_SUBREAPER  37
 #define PR_SET_NO_NEW_PRIVS     38
-- 
1.7.9.5

                 reply	other threads:[~2014-05-23  4:16 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=1400818570-13710-1-git-send-email-vlee@twopensource.com \
    --to=vlee@twopensource.com \
    --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 NNTP newsgroup(s).