From: Sapan Bhatia Date: Fri, 9 Oct 2009 20:53:42 +0000 (+0000) Subject: Fix for trellis build. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=dbcf452d86ee59dd588f2fdc909d9edfd808bee5;p=util-vserver.git Fix for trellis build. --- diff --git a/src/exec-remount.c b/src/exec-remount.c index d54683b..824bc06 100644 --- a/src/exec-remount.c +++ b/src/exec-remount.c @@ -31,6 +31,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 + #define ENSC_WRAPPERS_PREFIX "exec-remount: " #define ENSC_WRAPPERS_MOUNT 1 #define ENSC_WRAPPERS_UNISTD 1