[systemd-devel] [PATCH 4/6] missing.h: add MS_PRIVATE

harald at redhat.com harald at redhat.com
Tue May 31 08:06:58 PDT 2011


From: Harald Hoyer <harald at redhat.com>


Signed-off-by: Harald Hoyer <harald at redhat.com>
---
 src/missing.h  |    4 ++++
 src/shutdown.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/missing.h b/src/missing.h
index 23ab39e..a443900 100644
--- a/src/missing.h
+++ b/src/missing.h
@@ -172,4 +172,8 @@ struct btrfs_ioctl_vol_args {
 #define MS_MOVE 8192
 #endif
 
+#ifndef MS_PRIVATE
+#define MS_PRIVATE  (1 << 18)
+#endif
+
 #endif
diff --git a/src/shutdown.c b/src/shutdown.c
index a2f3b53..5f60650 100644
--- a/src/shutdown.c
+++ b/src/shutdown.c
@@ -32,6 +32,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "missing.h"
 #include "log.h"
 #include "umount.h"
 #include "util.h"
-- 
1.7.5.2



More information about the systemd-devel mailing list