This change is to fix the Trellis build. Missed this file in the previous changeset.
[util-vserver.git] / src / vcontext.c
index 8e68231..c505889 100644 (file)
 #include <grp.h>
 #include <sys/mount.h>
 
+// 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 <linux/personality.h>
 
 #define ENSC_WRAPPERS_PREFIX   "vcontext: "