#endif
#include "vserver.h"
-#include "vserver-internal.h"
#include "virtual.h"
+#if defined(VC_ENABLE_API_V13) && defined(VC_ENABLE_API_V21)
+# define VC_MULTIVERSION_SYSCALL 1
+#endif
+#include "vserver-internal.h"
+
#if defined(VC_ENABLE_API_V13)
# include "syscall_setccaps-v13.hc"
#endif
-#if defined(VC_ENABLE_API_V13)
+#if defined(VC_ENABLE_API_V21)
+# include "syscall_setccaps-v21.hc"
+#endif
+
+#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21)
int
vc_set_ccaps(xid_t xid, struct vc_ctx_caps const *caps)
{
return -1;
}
- CALL_VC(CALL_VC_V13A(vc_set_ccaps, xid, caps));
+ CALL_VC(CALL_VC_V21(vc_set_ccaps, xid, caps),
+ CALL_VC_V13A(vc_set_ccaps, xid, caps));
}
#endif