use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / lib / getversion-internal.hc
index a4a14d0..2b04967 100644 (file)
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #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(VCMD_get_version, cat, 0);
 }
 
 #endif //  H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H