From cbce9423af01902fde4d84c02eedb443947f8986 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 28 Nov 2017 20:42:17 +0100 Subject: [PATCH] stat: fix compilation failure on macOS Sierra Reported by Marius Schamschula in https://savannah.gnu.org/bugs/?52546 * lib/stat.c: Add missing include of stat-time.h. --- ChangeLog | 7 +++++++ lib/stat.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9f458045c8..581d4ce56e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-11-28 Benno Schulenberg + + stat: fix compilation failure on macOS Sierra + Reported by Marius Schamschula in: + https://savannah.gnu.org/bugs/?52546 + * lib/stat.c: Add missing include of stat-time.h. + 2017-11-28 Jim Meyering test-faccessat.c: correct BASE definition to avoid parallel test failure diff --git a/lib/stat.c b/lib/stat.c index 30ba67efc0..f52ae92223 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -47,6 +47,8 @@ orig_stat (const char *filename, struct stat *buf) above. */ #include "sys/stat.h" +#include "stat-time.h" + #include #include #include -- 2.39.5