This change is to fix the Trellis build. Missed this file in the previous changeset. trellis
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 9 Oct 2009 22:10:52 +0000 (22:10 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 9 Oct 2009 22:10:52 +0000 (22:10 +0000)
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: "