aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-18 19:59:30 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-18 19:59:30 +0100
commit144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d (patch)
treed3e5124c81bd7b15ba9325e072efbb58c682d999 /src/blogc-make/ctx.h
parent1d790b8c78a2925a788e7167ed8d9d52d8e23906 (diff)
downloadblogc-144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d.tar.gz
blogc-144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d.tar.bz2
blogc-144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d.zip
make: git-receiver: fixes to build on OS X. patch by @blackgear
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;