diff options
author | Jaywalker <jwilliams@nsllc.com> | 2018-02-06 23:51:41 -0600 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-12-26 15:10:36 -1000 |
commit | 18876defc0a550f09b4ca64f331d804101396e65 (patch) | |
tree | f5dd89730bcc3e93ad27e1a4c3603edb70bc58ba /ftparchive | |
parent | 1b9f9625972ed004ad9bdd7b1d4ce7ee3f152d45 (diff) |
Fixed system() using coolstar's patch and added other required patches
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 b24f6158e..19c8d1b22 100644 --- a/ftparchive/byhash.cc +++ b/ftparchive/byhash.cc @@ -17,6 +17,8 @@ #include <sys/stat.h> #include <unistd.h> +#define st_mtim st_mtimespec + #include "byhash.h" #include <apt-pkg/fileutl.h> #include <apt-pkg/hashes.h> diff --git a/ftparchive/cachedb.cc b/ftparchive/cachedb.cc index 1890c28d0..8496f44c1 100644 --- a/ftparchive/cachedb.cc +++ b/ftparchive/cachedb.cc @@ -21,6 +21,7 @@ #include <apt-pkg/sha1.h> #include <apt-pkg/sha2.h> #include <apt-pkg/strutl.h> +#include <apt-pkg/missing.h> #include <ctype.h> #include <netinet/in.h> // htonl, etc |