summaryrefslogtreecommitdiff
path: root/ftparchive/byhash.cc
diff options
context:
space:
mode:
authorJaywalker <jwilliams@nsllc.com>2018-02-06 23:51:41 -0600
committerSam Bingner <sam@bingner.com>2020-07-17 00:22:23 -1000
commit0c5bc15b2d8158f4eeec5db6718246e6924243ec (patch)
treeabfa6bd050492582744a35cb892d220e2177b74d /ftparchive/byhash.cc
parent12b140dcbd782b47fe0758f40d5c69f6008afe23 (diff)
Added required patches
Diffstat (limited to 'ftparchive/byhash.cc')
-rw-r--r--ftparchive/byhash.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftparchive/byhash.cc b/ftparchive/byhash.cc
index b24f6158e..5af0ef163 100644
--- a/ftparchive/byhash.cc
+++ b/ftparchive/byhash.cc
@@ -18,6 +18,10 @@
#include <unistd.h>
#include "byhash.h"
+#ifdef __APPLE__
+#define st_mtim st_mtimespec
+#endif
+
#include <apt-pkg/fileutl.h>
#include <apt-pkg/hashes.h>