]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sha1.h
Fix previous commit: Do not call memset() if realloc() returned NULL.
[apt.git] / apt-pkg / contrib / sha1.h
index 916faec1bca5cd9e5d3b9adf968ae0a62e44becf..a8d55eb13d5a77e5f2e5fd0313ae48be29bab47d 100644 (file)
 #include <cstring>
 #include <algorithm>
 
 #include <cstring>
 #include <algorithm>
 
+#include "hashsum_template.h"
+
+#ifndef APT_8_CLEANER_HEADERS
 using std::string;
 using std::min;
 using std::string;
 using std::min;
-
-#include "hashsum_template.h"
+#endif
 
 typedef  HashSumValue<160> SHA1SumValue;
 
 
 typedef  HashSumValue<160> SHA1SumValue;