summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-02-12 14:26:17 +0100
committerLennart Poettering <lennart@poettering.net>2013-02-13 00:12:58 +0100
commita96215285a9566668a5d92c1342888da7596144b (patch)
treedb522b5c0c9cc5eedbe32a62e650e347ebd2c148 /src
parent38d70045d15d5bc463c097a6983a23502ff8a837 (diff)
missing: define MS_REC and MS_SHARED if not defined already
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index c53579ff7f..d4ba0d3dcf 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -196,6 +196,14 @@ static inline pid_t gettid(void) {
#define MS_STRICTATIME (1<<24)
#endif
+#ifndef MS_REC
+#define MS_REC 16384
+#endif
+
+#ifndef MS_SHARED
+#define MS_SHARED (1<<20)
+#endif
+
#ifndef PR_SET_NO_NEW_PRIVS
#define PR_SET_NO_NEW_PRIVS 38
#endif