gentoo: use /var/run for new /run compatibility
[util-vserver.git] / lib_internal / sys_clone.h
index f797ac8..f30e8a2 100644 (file)
 #include "lib/syscall-wrap.h"
 #define __NR__sys_clone                __NR_clone
 
-#ifndef CLONE_NEWNS
-#  define CLONE_NEWNS 0x00020000
-#endif
-
 #ifndef ENSC_SYSCALL_TRADITIONAL
 #  include <errno.h>
 
@@ -46,9 +42,6 @@ int sys_clone(int flags, void *child_stack)
 #ifdef __sparc__
   int parent = getpid();
 #endif
-#if defined(__dietlibc__) && defined(ENSC_SYSCALL_TRADITIONAL)
-  extern long int syscall (long int __sysno, ...);
-#endif
 
 #if   defined(__s390__) && defined(ENSC_SYSCALL_TRADITIONAL)
   ret = syscall(__NR__sys_clone, child_stack, flags);