]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
reorder includes: add <config.h> if needed and include it at first
[apt.git] / methods / http.h
index d0677bdaa7664325d478b983dc07c16dce4adff6..aa96c6810d9824c36893a59cd9fda7d910e56f29 100644 (file)
@@ -13,7 +13,7 @@
 
 #define MAXLEN 360
 
-
+#include <apt-pkg/hashes.h>
 
 using std::cout;
 using std::endl;
@@ -182,7 +182,7 @@ class HttpMethod : public pkgAcqMethod
    string AutoDetectProxyCmd;
 
    public:
-   friend class ServerState;
+   friend struct ServerState;
 
    FileFd *File;
    ServerState *Server;