changeset 39172:58c48c821739

stat: fix compilation failure on macOS Sierra Reported by Marius Schamschula <mschamschula@gmail.com> in https://savannah.gnu.org/bugs/?52546 * lib/stat.c: Add missing include of stat-time.h.
author Benno Schulenberg <bensberg@telfort.nl>
date Tue, 28 Nov 2017 20:42:17 +0100
parents 965899796df4
children bd8aa1175bdf
files ChangeLog lib/stat.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <bensberg@telfort.nl>
+
+	stat: fix compilation failure on macOS Sierra
+	Reported by Marius Schamschula <mschamschula@gmail.com>	in:
+	https://savannah.gnu.org/bugs/?52546
+	* lib/stat.c: Add missing include of stat-time.h.
+
 2017-11-28  Jim Meyering  <meyering@fb.com>
 
 	test-faccessat.c: correct BASE definition to avoid parallel test failure
--- 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 <errno.h>
 #include <limits.h>
 #include <stdbool.h>