aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/ctx.h')
-rw-r--r--src/blogc-make/ctx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.h b/src/blogc-make/ctx.h
index df640a3..fdb02b8 100644
--- a/src/blogc-make/ctx.h
+++ b/src/blogc-make/ctx.h
@@ -15,6 +15,12 @@
#include "../common/error.h"
#include "../common/utils.h"
+#ifdef __APPLE__
+#ifndef st_mtim
+#define st_mtim st_mtimespec
+#endif
+#endif
+
typedef struct {
char *path;
char *short_path;