From: Lennart Poettering Date: Fri, 1 Jun 2012 19:25:29 +0000 (+0200) Subject: missing: define MS_STRICTATIME if not defined already X-Git-Tag: v185~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ac500bb65f1f2eb09704f15104eeebb9330d47;p=systemd missing: define MS_STRICTATIME if not defined already --- diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index c26dedca..cdbee144 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 ecedf72a..0cf7949d 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