summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/sha1.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-12-19 14:42:48 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-12-19 14:42:48 +0100
commit616e09efe980457a0a4a3b643903a2a31708439e (patch)
treec656f4f9ee926733e7bb1db90d7537a0b137e08e /apt-pkg/contrib/sha1.h
parent384a3a5c5a233e28923d642baf92d15071705635 (diff)
parent27da8141d21cfbfc29675510737ee05bdfd4a2b1 (diff)
merged from debian-experimental2
Diffstat (limited to 'apt-pkg/contrib/sha1.h')
-rw-r--r--apt-pkg/contrib/sha1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-pkg/contrib/sha1.h b/apt-pkg/contrib/sha1.h
index b4b139a22..a8d55eb13 100644
--- a/apt-pkg/contrib/sha1.h
+++ b/apt-pkg/contrib/sha1.h
@@ -20,6 +20,11 @@
#include "hashsum_template.h"
+#ifndef APT_8_CLEANER_HEADERS
+using std::string;
+using std::min;
+#endif
+
typedef HashSumValue<160> SHA1SumValue;
class SHA1Summation : public SummationImplementation