#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-#include "compat.h"
-#include "vserver.h"
-#include "vserver-internal.h"
#ifdef VC_ENABLE_API_COMPAT
# include "getctx-compat.hc"
# include "getctx-legacy.hc"
#endif
+#include "vserver.h"
+#include "vserver-internal.h"
+#include "internal.h"
+
#include <sys/types.h>
-ctx_t
+xid_t
vc_X_getctx(pid_t pid)
{
CALL_VC(CALL_VC_COMPAT(vc_X_getctx, pid),