summaryrefslogtreecommitdiff
path: root/ftparchive/byhash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ftparchive/byhash.cc')
-rw-r--r--ftparchive/byhash.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftparchive/byhash.cc b/ftparchive/byhash.cc
index 354d089c3..358fd27b4 100644
--- a/ftparchive/byhash.cc
+++ b/ftparchive/byhash.cc
@@ -17,6 +17,8 @@
#include <unistd.h>
#include <sys/stat.h>
+#define st_mtim st_mtimespec
+
#include <apt-pkg/fileutl.h>
#include <apt-pkg/hashes.h>
#include "byhash.h"