]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Build fix for ia64: Declare __clone2 in lxc/namespace.h
authorDennis Schridde <devurandom@gmx.net>
Mon, 18 Mar 2013 16:55:15 +0000 (17:55 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 19 Mar 2013 13:18:08 +0000 (09:18 -0400)
Signed-off-by: Dennis Schridde <devurandom@gmx.net>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/namespace.h

index acce950583fd82c8ed2111c46f9413afddb1e903..c6a97ec93894b7980ff9aecc068f76cc0dd179df 100644 (file)
 #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