# HG changeset patch # User Benno Schulenberg # Date 1511898137 -3600 # Node ID 58c48c821739887071ff5c2aed2ae3d31389587c # Parent 965899796df4d74aed84cff7038af4566ec2eebc 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 -r 965899796df4 -r 58c48c821739 ChangeLog --- a/ChangeLog Tue Nov 28 07:52:47 2017 -0800 +++ b/ChangeLog Tue Nov 28 20:42:17 2017 +0100 @@ -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 -r 965899796df4 -r 58c48c821739 lib/stat.c --- a/lib/stat.c Tue Nov 28 07:52:47 2017 -0800 +++ b/lib/stat.c Tue Nov 28 20:42:17 2017 +0100 @@ -47,6 +47,8 @@ above. */ #include "sys/stat.h" +#include "stat-time.h" + #include #include #include