summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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