[lxc-devel] [PATCH 1/2] Build fix for ia64: Declare __clone2 in lxc/namespace.h
Dennis Schridde
devurandom at gmx.net
Mon Mar 18 16:55:15 UTC 2013
---
src/lxc/namespace.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h
index e35de60..1c33b55 100644
--- a/src/lxc/namespace.h
+++ b/src/lxc/namespace.h
@@ -49,7 +49,11 @@
#ifndef CLONE_NEWNET
# define CLONE_NEWNET 0x40000000
#endif
-#ifdef IS_BIONIC
+
+#if defined(__ia64__)
+int __clone2(int (*__fn) (void *__arg), void *__child_stack_base,
+ size_t __child_stack_size, int __flags, void *__arg, ...);
+#elif defined(IS_BIONIC)
int clone(int (*fn)(void *), void *child_stack,
int flags, void *arg);
#else
--
1.8.1.5
More information about the lxc-devel
mailing list