summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfs.h b/bfs.h
index b03558f..e3090c9 100644
--- a/bfs.h
+++ b/bfs.h
@@ -27,6 +27,13 @@
# define BFS_HOMEPAGE "https://github.com/tavianator/bfs"
#endif
+// Some portability concerns
+#if __APPLE__
+# define st_atim st_atimespec
+# define st_ctim st_ctimespec
+# define st_mtim st_mtimespec
+#endif
+
/**
* A command line expression.
*/