X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Flib%2Fsyscall.c;h=de3f92e873de93bf7844dfdbbfa929db81d7fcf8;hb=3f110d1737d4bfe5df2b7d28591887c37cd1f539;hp=52134c8f9f6088a21b4b2bda9839f5682008cae0;hpb=4c0037aecd96cf23da727c12381723ab5cbfa5e4;p=util-vserver.git diff --git a/util-vserver/lib/syscall.c b/util-vserver/lib/syscall.c index 52134c8..de3f92e 100644 --- a/util-vserver/lib/syscall.c +++ b/util-vserver/lib/syscall.c @@ -23,12 +23,16 @@ #include "compat.h" #include "vserver.h" -#include "vserver-internal.h" #include "internal.h" #define _LINUX_TYPES_H 1 #include "linuxvirtual.h" +#if defined(VC_ENABLE_API_COMPAT) && defined(VC_ENABLE_API_LEGACY) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + #ifdef VC_ENABLE_API_COMPAT # include "syscall-compat.hc" #endif @@ -40,6 +44,7 @@ #include #include + #if defined(VC_ENABLE_API_COMPAT) || defined(VC_ENABLE_API_LEGACY) int