Permalink
Browse files

Build fix for ia64: Declare __clone2 in lxc/namespace.h

Signed-off-by: Dennis Schridde <devurandom@gmx.net>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information...
devurandom authored and stgraber committed Mar 18, 2013
1 parent 72280e1 commit 675693a5d7f1dc4898a36114171a2815f87eb9bc
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/lxc/namespace.h
View
@@ -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

0 comments on commit 675693a

Please sign in to comment.