]> git.saurik.com Git - apt.git/blobdiff - methods/copy.cc
share description list between "same" versions (LP: #868977)
[apt.git] / methods / copy.cc
index a6bb372a3754d9b8d72ee5f85f81b2ebf586904f..f8d58e479703b66bb2075480abb0b6fea15da534 100644 (file)
@@ -9,7 +9,10 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
+#include <config.h>
+
 #include <apt-pkg/fileutl.h>
+#include <apt-pkg/strutl.h>
 #include <apt-pkg/acquire-method.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/hashes.h>
@@ -35,7 +38,7 @@ class CopyMethod : public pkgAcqMethod
 bool CopyMethod::Fetch(FetchItem *Itm)
 {
    URI Get = Itm->Uri;
-   string File = Get.Path;
+   std::string File = Get.Path;
 
    // Stat the file and send a start message
    struct stat Buf;