From: Benno Schulenberg Date: Tue, 28 Nov 2017 19:42:17 +0000 (+0100) Subject: stat: fix compilation failure on macOS Sierra X-Git-Tag: v1.0~5808 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=cbce9423af01902fde4d84c02eedb443947f8986;p=gnulib.git 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. --- 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