summaryrefslogtreecommitdiffstats
path: root/aports-cache.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-07-03 10:56:08 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-03 10:56:08 +0200
commit9bbea50ceaf3c6defdec9971bcbac5f7c419e94d (patch)
tree9d41037bc71f1ee70582b5765b32020b9d8cd55e /aports-cache.c
parent324894cf2960d91e1c2363ba17ac9efbd4ba1263 (diff)
downloadaports-cache-9bbea50ceaf3c6defdec9971bcbac5f7c419e94d.tar.bz2
aports-cache-9bbea50ceaf3c6defdec9971bcbac5f7c419e94d.tar.xz
fix build on macos
Diffstat (limited to 'aports-cache.c')
-rw-r--r--aports-cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/aports-cache.c b/aports-cache.c
index f185e7f..303239a 100644
--- a/aports-cache.c
+++ b/aports-cache.c
@@ -20,6 +20,9 @@
#define debug_printf(args...)
#endif
+#if defined(__APPLE__)
+#define st_mtim st_mtimespec
+#endif
static int spawn_shell_pipe(char *const argv[], pid_t *pid, int outfd)
{