]> git.saurik.com Git - apt.git/blobdiff - methods/connect.h
You have to do the bounds check before the access.
[apt.git] / methods / connect.h
index 0afa00919ebc219ef3aade8814c79ca974145d20..bbe1bb35d1add08ce3fd3a5135ddac0580dab00d 100644 (file)
@@ -11,7 +11,8 @@
 #define CONNECT_H
 
 #include <string>
-#include <apt-pkg/acquire-method.h>
+
+class pkgAcqMethod;
 
 bool Connect(std::string To,int Port,const char *Service,int DefPort,
             int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);