X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Flib%2Fgetversion-internal.hc;h=4706b0c2f3b35c1006603a46062b94d519d069c9;hb=b38d70e7594b43cdd63b9e27ea5783001ef8407c;hp=a4a14d09f51bb98e159ff36d680af4c1cbb02f6b;hpb=9cde6b2e1f86d390b0730cb5339eb4920d631886;p=util-vserver.git diff --git a/util-vserver/lib/getversion-internal.hc b/util-vserver/lib/getversion-internal.hc index a4a14d0..4706b0c 100644 --- a/util-vserver/lib/getversion-internal.hc +++ b/util-vserver/lib/getversion-internal.hc @@ -22,15 +22,16 @@ #ifdef HAVE_CONFIG_H # include #endif -#include "compat.h" #include "vserver-internal.h" + +#define _LINUX_TYPES_H 1 #include "linuxvirtual.h" -static inline ALWAYSINLINE int +static inline ALWAYSINLINE UNUSED int vc_get_version_internal(int cat) { - return sys_virtual_context(VC_CMD(VERSION, 0, 0), cat, 0); + return vserver(VC_CMD(VERSION, 0, 0), cat, 0); } #endif // H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H