X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3671f6810b6306a07f0002b0a808435dad367ab0..213a00a43774ad41d1a59c82fe042390026ab048:/apt-pkg/contrib/md5.h diff --git a/apt-pkg/contrib/md5.h b/apt-pkg/contrib/md5.h index e76428325..25631b166 100644 --- a/apt-pkg/contrib/md5.h +++ b/apt-pkg/contrib/md5.h @@ -29,10 +29,12 @@ #include #include +#include "hashsum_template.h" + +#ifndef APT_8_CLEANER_HEADERS using std::string; using std::min; - -#include "hashsum_template.h" +#endif typedef HashSumValue<128> MD5SumValue; @@ -45,7 +47,7 @@ class MD5Summation : public SummationImplementation public: - bool Add(const unsigned char *inbuf, unsigned long inlen); + bool Add(const unsigned char *inbuf, unsigned long long inlen); using SummationImplementation::Add; MD5SumValue Result();