* [PATCH] Fix build errors on Ubuntu 12.04.
@ 2014-05-23 4:16 Vinson Lee
0 siblings, 0 replies; only message in thread
From: Vinson Lee @ 2014-05-23 4:16 UTC (permalink / raw)
To: trinity; +Cc: Vinson Lee
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-23 4:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 4:16 [PATCH] Fix build errors on Ubuntu 12.04 Vinson Lee
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).