From: Enrico Scholz Date: Mon, 13 Oct 2003 19:44:24 +0000 (+0000) Subject: moved compat.h from src/ to toplevel-dir X-Git-Tag: VERSION_0_10~1277 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f11b01808ef8f5dfaec0483c110f745dde43c13;p=util-vserver.git moved compat.h from src/ to toplevel-dir git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@83 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/compat.h b/util-vserver/compat.h similarity index 81% rename from util-vserver/src/compat.h rename to util-vserver/compat.h index 695a857..e66ed1b 100644 --- a/util-vserver/src/compat.h +++ b/util-vserver/compat.h @@ -16,8 +16,8 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef H_UTIL_VSERVER_SRC_COMPAT_H -#define H_UTIL_VSERVER_SRC_COMPAT_H +#ifndef H_UTIL_VSERVER_COMPAT_H +#define H_UTIL_VSERVER_COMPAT_H #if defined(__GNUC__) # define UNUSED __attribute__((__unused__)) @@ -33,4 +33,13 @@ # define ALWAYSINLINE #endif -#endif // H_UTIL_VSERVER_SRC_COMPAT_H +#if !defined(HAVE_DECL_MS_MOVE) || !(HAVE_DECL_MS_MOVE) + // from +# define MS_MOVE 8192 +#endif + +#ifndef HAVE_CTX_T +typedef short int ctx_t; +#endif + +#endif // H_UTIL_VSERVER_COMPAT_H