summaryrefslogtreecommitdiffstats
path: root/aports-cache.c
diff options
context:
space:
mode:
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)
{