From: Enrico Scholz Date: Mon, 13 Oct 2003 19:41:24 +0000 (+0000) Subject: include "compat.h" X-Git-Tag: VERSION_0_10~1278 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604c7e22a69f1e6c2e206304ef01b15bc8ab0774;p=util-vserver.git include "compat.h" git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@82 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/getctx.c b/util-vserver/lib/getctx.c index 9a76ed8..211ca41 100644 --- a/util-vserver/lib/getctx.c +++ b/util-vserver/lib/getctx.c @@ -20,6 +20,7 @@ # include #endif +#include "compat.h" #include "vserver.h" #include "internal.h" #include diff --git a/util-vserver/lib/syscall.c b/util-vserver/lib/syscall.c index ebf96da..9f6ef39 100644 --- a/util-vserver/lib/syscall.c +++ b/util-vserver/lib/syscall.c @@ -36,6 +36,7 @@ #include #include +#include "compat.h" #include "vserver.h" // Here is the trick. We keep a copy of the define, then undef it diff --git a/util-vserver/src/capchroot.c b/util-vserver/src/capchroot.c index 5f3e312..a449b92 100644 --- a/util-vserver/src/capchroot.c +++ b/util-vserver/src/capchroot.c @@ -37,6 +37,7 @@ #include #include "linuxcaps.h" +#include "compat.h" #include "vserver.h" static int my_chroot(const char *dir) diff --git a/util-vserver/src/chbind.c b/util-vserver/src/chbind.c index 3880ad3..b629a88 100644 --- a/util-vserver/src/chbind.c +++ b/util-vserver/src/chbind.c @@ -20,6 +20,7 @@ #ifdef HAVE_CONFIG_H # include #endif +#include "compat.h" #include #include diff --git a/util-vserver/src/chcontext.c b/util-vserver/src/chcontext.c index 987af80..fda3602 100644 --- a/util-vserver/src/chcontext.c +++ b/util-vserver/src/chcontext.c @@ -25,6 +25,7 @@ #ifdef HAVE_CONFIG_H # include #endif +#include "compat.h" #include #include diff --git a/util-vserver/src/reducecap.c b/util-vserver/src/reducecap.c index 6fdd4b5..1c11e71 100644 --- a/util-vserver/src/reducecap.c +++ b/util-vserver/src/reducecap.c @@ -20,6 +20,7 @@ #ifdef HAVE_CONFIG_H # include #endif +#include "compat.h" #include #include diff --git a/util-vserver/src/save_ctxinfo.c b/util-vserver/src/save_ctxinfo.c index 6dc899e..91b498e 100644 --- a/util-vserver/src/save_ctxinfo.c +++ b/util-vserver/src/save_ctxinfo.c @@ -21,6 +21,7 @@ #ifdef HAVE_CONFIG_H # include #endif +#include "compat.h" #include "vserver.h" #include "internal.h" diff --git a/util-vserver/src/secure-mount.c b/util-vserver/src/secure-mount.c index 2af654c..9f5c05c 100644 --- a/util-vserver/src/secure-mount.c +++ b/util-vserver/src/secure-mount.c @@ -28,6 +28,7 @@ #ifdef HAVE_CONFIG_H # include #endif +#include "compat.h" #include "util.h" #include "pathconfig.h" diff --git a/util-vserver/src/setctxlimit.c b/util-vserver/src/setctxlimit.c index 56ae22f..e281401 100644 --- a/util-vserver/src/setctxlimit.c +++ b/util-vserver/src/setctxlimit.c @@ -27,6 +27,7 @@ #ifdef HAVE_CONFIG_H # include #endif +#include "compat.h" #include #include diff --git a/util-vserver/tests/chrootsafe.cc b/util-vserver/tests/chrootsafe.cc index eac461d..70be9e3 100644 --- a/util-vserver/tests/chrootsafe.cc +++ b/util-vserver/tests/chrootsafe.cc @@ -32,6 +32,7 @@ #include #include +#include "compat.h" #include "vserver.h" int main (int argc, char *argv[]) diff --git a/util-vserver/tests/getctx.c b/util-vserver/tests/getctx.c index 68d3a55..e192818 100644 --- a/util-vserver/tests/getctx.c +++ b/util-vserver/tests/getctx.c @@ -20,6 +20,7 @@ # include #endif +#include "compat.h" #include "vserver.h" #include