summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-01 21:25:29 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-01 21:25:29 +0200
commit48ac500bb65f1f2eb09704f15104eeebb9330d47 (patch)
treeb5215e30c2c8d22e239699d45a4fbba6d537cdff
parent3ab1e259d918228c68c1829bd67625e1dc660862 (diff)
missing: define MS_STRICTATIME if not defined already
-rw-r--r--src/core/mount-setup.c1
-rw-r--r--src/shared/missing.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index c26dedca60..cdbee14408 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -39,6 +39,7 @@
#include "strv.h"
#include "mkdir.h"
#include "path-util.h"
+#include "missing.h"
#ifndef TTY_GID
#define TTY_GID 5
diff --git a/src/shared/missing.h b/src/shared/missing.h
index ecedf72ab7..0cf7949d2c 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -184,4 +184,8 @@ static inline pid_t gettid(void) {
#define SCM_SECURITY 0x03
#endif
+#ifndef MS_STRICTATIME
+#define MS_STRICTATIME (1<<24)
+#endif
+
#endif