]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sha1.h
add sources.list Check-Valid-Until and Valid-Until-{Max,Min} options
[apt.git] / apt-pkg / contrib / sha1.h
index b4b139a222bdf2194b69a15356e257842aa3e072..5770c315ab1a76a4205e5658adb567cdf34974cf 100644 (file)
 #ifndef APTPKG_SHA1_H
 #define APTPKG_SHA1_H
 
+#include "hashsum_template.h"
+
+#ifndef APT_10_CLEANER_HEADERS
 #include <string>
 #include <cstring>
 #include <algorithm>
-
-#include "hashsum_template.h"
+#endif
+#ifndef APT_8_CLEANER_HEADERS
+using std::string;
+using std::min;
+#endif
 
 typedef  HashSumValue<160> SHA1SumValue;