# HG changeset patch # User Michael Pavone # Date 1462348220 25200 # Node ID 4a92889e2889bc3d7c2522a9e205d837d06bf59b # Parent e34334e6c682ff8380e0bdb368a5457af36cf440 Fix OS X build diff -r e34334e6c682 -r 4a92889e2889 util.c --- a/util.c Mon May 02 23:08:20 2016 -0700 +++ b/util.c Wed May 04 00:50:20 2016 -0700 @@ -467,7 +467,11 @@ if (stat(path, &st)) { return 0; } +#ifdef __APPLE__ + return st.st_mtimespec.tv_sec; +#else return st.st_mtim.tv_sec; +#endif } int ensure_dir_exists(char *path)