[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] stat: fix compilation failure on macOS Sierra
From: |
Benno Schulenberg |
Subject: |
[PATCH] stat: fix compilation failure on macOS Sierra |
Date: |
Tue, 28 Nov 2017 20:42:17 +0100 |
Reported by Marius Schamschula <address@hidden>
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
- [PATCH] stat: fix compilation failure on macOS Sierra,
Benno Schulenberg <=