Discussion:
[PATCH] stat: fix compilation failure on macOS Sierra
Add Reply
Benno Schulenberg
2017-11-28 19:42:17 UTC
Reply
Permalink
Raw Message
Reported by Marius Schamschula <***@gmail.com>
in https://savannah.gnu.org/bugs/?52546.

* lib/stat.c: Add missing include of stat-time.h.
---
lib/stat.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/lib/stat.c b/lib/stat.c
index 30ba67efc..f52ae9222 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 <errno.h>
#include <limits.h>
#include <stdbool.h>
--
2.14.3
Paul Eggert
2017-11-28 22:20:58 UTC
Reply
Permalink
Raw Message
Thanks. I installed that, along the attached followup patch.

Loading...