From 440d2e2e5b81a29a7b1e8012c3b89943ae389aea Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 17 Nov 2003 23:13:47 +0000 Subject: [PATCH] made ctx_t and 'uint32_t' to fix kernel<->user conflicts (-1 in user becomes 0x0000ffff in kernel which would expect 0xffffffff) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@394 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util-vserver/compat.h b/util-vserver/compat.h index e66ed1b..00e687e 100644 --- a/util-vserver/compat.h +++ b/util-vserver/compat.h @@ -39,7 +39,8 @@ #endif #ifndef HAVE_CTX_T -typedef short int ctx_t; +#include +typedef uint32_t ctx_t; #endif #endif // H_UTIL_VSERVER_COMPAT_H -- 1.8.1.5