]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sha2.h
clear HitEof flag in FileFd::Seek
[apt.git] / apt-pkg / contrib / sha2.h
index 8e0c99a1b6631d1e3ff74d5207f8a08f3a8dee91..a25ad4d322065bd928a578fbdbcac2a203c1197a 100644 (file)
 #ifndef APTPKG_SHA2_H
 #define APTPKG_SHA2_H
 
-#include <string>
 #include <cstring>
-#include <algorithm>
-#include <stdint.h>
 
 #include "sha2_internal.h"
 #include "hashsum_template.h"
 
+#ifndef APT_10_CLEANER_HEADERS
+#include <string>
+#include <algorithm>
+#include <stdint.h>
+#endif
+
+
 typedef HashSumValue<512> SHA512SumValue;
 typedef HashSumValue<256> SHA256SumValue;