moved compat.h from src/ to toplevel-dir
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 13 Oct 2003 19:44:24 +0000 (19:44 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 13 Oct 2003 19:44:24 +0000 (19:44 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@83 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/compat.h [moved from util-vserver/src/compat.h with 81% similarity]

similarity index 81%
rename from util-vserver/src/compat.h
rename to util-vserver/compat.h
index 695a857..e66ed1b 100644 (file)
@@ -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__))
 #  define ALWAYSINLINE
 #endif
 
-#endif //  H_UTIL_VSERVER_SRC_COMPAT_H
+#if !defined(HAVE_DECL_MS_MOVE) || !(HAVE_DECL_MS_MOVE)
+  // from <linux/fs.h>
+#  define MS_MOVE              8192
+#endif
+
+#ifndef HAVE_CTX_T
+typedef short int              ctx_t;
+#endif
+
+#endif //  H_UTIL_VSERVER_COMPAT_H