From dbcf452d86ee59dd588f2fdc909d9edfd808bee5 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Fri, 9 Oct 2009 20:53:42 +0000 Subject: [PATCH] Fix for trellis build. --- src/exec-remount.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.43.0