summaryrefslogtreecommitdiff
path: root/apt-inst/contrib/arfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-inst/contrib/arfile.h')
-rw-r--r--apt-inst/contrib/arfile.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/apt-inst/contrib/arfile.h b/apt-inst/contrib/arfile.h
index 7f6c68302..0f62a34a0 100644
--- a/apt-inst/contrib/arfile.h
+++ b/apt-inst/contrib/arfile.h
@@ -17,7 +17,11 @@
#include <string>
+#ifndef APT_8_CLEANER_HEADERS
#include <apt-pkg/fileutl.h>
+#endif
+
+class FileFd;
class ARArchive
{
@@ -49,12 +53,12 @@ class ARArchive
struct ARArchive::Member
{
// Fields from the header
- string Name;
+ std::string Name;
unsigned long MTime;
unsigned long UID;
unsigned long GID;
unsigned long Mode;
- unsigned long Size;
+ unsigned long long Size;
// Location of the data.
unsigned long Start;