From 144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 18 Feb 2017 19:59:30 +0100 Subject: make: git-receiver: fixes to build on OS X. patch by @blackgear --- src/blogc-make/ctx.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/blogc-make/ctx.h') 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; -- cgit v1.2.3-18-g5258