diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-26 13:07:23 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-26 14:51:59 -1000 |
commit | 59c3e0b998fd69532159d8dc416109cf50651482 (patch) | |
tree | 2e58bef1273e4d3542c168980e4a2d793e170045 /ftparchive | |
parent | ac0d26d4e39da16bdbf575637fd3d4b24a7fb4b8 (diff) | |
parent | 2aa218273eb6009880e987f90d3e24b8efb04642 (diff) |
Merge nitotv apt fixes into 1.4.81.4.8+nitotv
Diffstat (limited to 'ftparchive')
-rw-r--r-- | ftparchive/byhash.cc | 2 | ||||
-rw-r--r-- | ftparchive/cachedb.cc | 1 |
2 files changed, 3 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" diff --git a/ftparchive/cachedb.cc b/ftparchive/cachedb.cc index 868029abd..930bb5f94 100644 --- a/ftparchive/cachedb.cc +++ b/ftparchive/cachedb.cc @@ -22,6 +22,7 @@ #include <apt-pkg/debfile.h> #include <apt-pkg/gpgv.h> #include <apt-pkg/hashes.h> +#include <apt-pkg/missing.h> #include <netinet/in.h> // htonl, etc #include <ctype.h> |