]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/md5.cc
Use a hardcoded buffer size of 4096 to fix performance
[apt.git] / apt-pkg / contrib / md5.cc
index 4351aeb22f23d6b0d17e7b54cf5c4e066798ad6e..b487a96f9bb30ca289be03f6f0f073b7e6f542f5 100644 (file)
 #include <config.h>
 
 #include <apt-pkg/md5.h>
-#include <apt-pkg/strutl.h>
-#include <apt-pkg/macros.h>
 
+#include <stdint.h>
 #include <string.h>
-#include <unistd.h>
-#include <netinet/in.h>                          // For htonl
-#include <inttypes.h>
                                                                        /*}}}*/
 
 // byteSwap - Swap bytes in a buffer                                   /*{{{*/