]> err.no Git - systemd/commitdiff
missing: define MS_STRICTATIME if not defined already
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Jun 2012 19:25:29 +0000 (21:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Jun 2012 19:25:29 +0000 (21:25 +0200)
src/core/mount-setup.c
src/shared/missing.h

index c26dedca60a466b5fc24f0bff5440565ba6c42d2..cdbee1440827f99dcd0adc393f9bde773ffbbd4a 100644 (file)
@@ -39,6 +39,7 @@
 #include "strv.h"
 #include "mkdir.h"
 #include "path-util.h"
+#include "missing.h"
 
 #ifndef TTY_GID
 #define TTY_GID 5
index ecedf72ab790a9e6a2b438fde3028bd77324f123..0cf7949d2cbde548c854af630c4fc2cd6a4720ce 100644 (file)
@@ -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