From: Sapan Bhatia Date: Fri, 9 Oct 2009 22:10:52 +0000 (+0000) Subject: This change is to fix the Trellis build. Missed this file in the previous changeset. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=refs%2Fremotes%2Ftrellis;p=util-vserver.git This change is to fix the Trellis build. Missed this file in the previous changeset. --- diff --git a/src/vcontext.c b/src/vcontext.c index 8e68231..c505889 100644 --- a/src/vcontext.c +++ b/src/vcontext.c @@ -39,6 +39,11 @@ #include #include +// Make this version of util-vserver build in one of PL's builds with an old mount.h +#if defined(_SYS_MOUNT_H) && !defined(MNT_DETACH) +#define MNT_DETACH 2 +#endif + #include #define ENSC_WRAPPERS_PREFIX "vcontext: "